Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,6 +37,13 @@ def check_text(prompt, negative=""):
|
|
| 37 |
return False
|
| 38 |
|
| 39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
|
| 42 |
#js_func = """
|
|
@@ -541,5 +548,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
| 541 |
gr.Markdown("**Note:**")
|
| 542 |
gr.Markdown("⚠️ users are accountable for the content they generate and are responsible for ensuring it meets appropriate ethical standards.")
|
| 543 |
|
|
|
|
|
|
|
| 544 |
if __name__ == "__main__":
|
| 545 |
demo.queue(max_size=40).launch()
|
|
|
|
| 37 |
return False
|
| 38 |
|
| 39 |
|
| 40 |
+
#Load the HTML content
|
| 41 |
+
#html_file_url = "https://prithivmlmods-hamster-static.static.hf.space/index.html"
|
| 42 |
+
#html_content = f'<iframe src="{html_file_url}" style="width:100%; height:180px; border:none;"></iframe>'
|
| 43 |
+
#html_file_url = "https://prithivmlmods-static-loading-theme.static.hf.space/index.html"
|
| 44 |
+
html_file_url = "https://playloader.vercel.app/"
|
| 45 |
+
html_content = f'<iframe src="{html_file_url}" style="width:100%; height:400px; border:none"></iframe>'
|
| 46 |
+
|
| 47 |
|
| 48 |
|
| 49 |
#js_func = """
|
|
|
|
| 548 |
gr.Markdown("**Note:**")
|
| 549 |
gr.Markdown("⚠️ users are accountable for the content they generate and are responsible for ensuring it meets appropriate ethical standards.")
|
| 550 |
|
| 551 |
+
gr.HTML(html_content)
|
| 552 |
+
|
| 553 |
if __name__ == "__main__":
|
| 554 |
demo.queue(max_size=40).launch()
|