Spaces:
Runtime error
Runtime error
change app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
from webapp import webapp
|
3 |
|
4 |
def add_text(history, text):
|
5 |
history = history + [[text, None]]
|
@@ -30,7 +30,7 @@ with gr.Blocks() as demo:
|
|
30 |
|
31 |
clear_btn.click(lambda: None, inputs=None, outputs=output_box, queue=False)
|
32 |
|
33 |
-
demo.launch(server_port=7860, show_api=False, share=False) # , share = True, inline = True)
|
34 |
|
35 |
# set FLASK_APP=app.py
|
36 |
# flask run -h localhost -p 7860
|
|
|
1 |
import gradio as gr
|
2 |
+
# from webapp import webapp
|
3 |
|
4 |
def add_text(history, text):
|
5 |
history = history + [[text, None]]
|
|
|
30 |
|
31 |
clear_btn.click(lambda: None, inputs=None, outputs=output_box, queue=False)
|
32 |
|
33 |
+
demo.launch() # server_port=7860, show_api=False, share=False, inline=True) # , share = True, inline = True)
|
34 |
|
35 |
# set FLASK_APP=app.py
|
36 |
# flask run -h localhost -p 7860
|