anandaa commited on
Commit
801fc68
β€’
1 Parent(s): aa5f44e

change app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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