SteveTran commited on
Commit
86fc1ec
·
verified ·
1 Parent(s): 605193c

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -40,7 +40,7 @@ def make_request(query):
40
 
41
 
42
  # Create the Gradio interface
43
- with gr.Blocks() as demo:
44
  gr.Markdown(
45
  """
46
  # Query Reformulation Assistant
@@ -93,4 +93,4 @@ with gr.Blocks() as demo:
93
 
94
  # Launch the app
95
  if __name__ == "__main__":
96
- demo.launch(share=False, server_name="0.0.0.0", server_port=7860, favicon_path=None)
 
40
 
41
 
42
  # Create the Gradio interface
43
+ with gr.Blocks() as app:
44
  gr.Markdown(
45
  """
46
  # Query Reformulation Assistant
 
93
 
94
  # Launch the app
95
  if __name__ == "__main__":
96
+ app.launch()