Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
import json
|
@@ -61,8 +63,10 @@ with gr.Blocks() as demo:
|
|
61 |
container=False,
|
62 |
autoscroll=True,
|
63 |
scale=7),
|
|
|
64 |
# textbox=prompt,
|
65 |
# additional_inputs=[category1, category2]
|
66 |
)
|
67 |
|
68 |
-
|
|
|
|
1 |
+
os.environ["USER_AGENT"] = "gradio-hf-space"
|
2 |
+
|
3 |
import os
|
4 |
import gradio as gr
|
5 |
import json
|
|
|
63 |
container=False,
|
64 |
autoscroll=True,
|
65 |
scale=7),
|
66 |
+
type="messages",
|
67 |
# textbox=prompt,
|
68 |
# additional_inputs=[category1, category2]
|
69 |
)
|
70 |
|
71 |
+
if __name__ == "__main__":
|
72 |
+
demo.launch(share=True)
|