mrfakename commited on
Commit
8fbc49e
·
verified ·
1 Parent(s): 1201b01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,4 +4,4 @@ def greet(name):
4
  raise gr.Error("Error")
5
 
6
  demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
- demo.launch(api_open=False)
 
4
  raise gr.Error("Error")
5
 
6
  demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+ demo.queue(api_open=False).launch(show_api=False)