Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,13 +1,11 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
html_content = file.read()
|
| 6 |
-
return html_content
|
| 7 |
|
| 8 |
-
|
|
|
|
|
|
|
| 9 |
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
app.launch(share=True)
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
with open("Market.html") as f:
|
| 4 |
+
lines = f.readlines()
|
|
|
|
|
|
|
| 5 |
|
| 6 |
+
with gr.Blocks() as demo:
|
| 7 |
+
input_mic = gr.HTML(lines)
|
| 8 |
+
out_text = gr.Textbox()
|
| 9 |
|
| 10 |
+
if __name__ == "__main__":
|
| 11 |
+
demo.launch()
|
|
|
|
|
|