Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
with open("index.html", "r", encoding="utf-8") as file:
|
| 4 |
+
custom_html = file.read()
|
| 5 |
+
|
| 6 |
+
demo = gr.Interface(lambda: None, inputs=[], outputs=[],
|
| 7 |
+
title="HuggingFace DAO | $HFT 🤗",
|
| 8 |
+
description="Join the most lovable DAO on the chain.",
|
| 9 |
+
live=False)
|
| 10 |
+
|
| 11 |
+
demo.launch(share=False, inline=True, auth=None, enable_queue=False, show_error=True,
|
| 12 |
+
server_port=7860, server_name="0.0.0.0", favicon_path=None,
|
| 13 |
+
custom_html=custom_html)
|