cutiee82 commited on
Commit
75c5460
·
1 Parent(s): dd1408d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,7 +21,7 @@ with gr.Blocks() as demo:
21
  clear = gr.Button("Clear")
22
 
23
  btn.click(generate, [text, length], [text])
24
- clear.click(lambda: "", [], [text])
25
 
26
  if __name__ == "__main__":
27
- demo.queue().launch(debug=True)
 
21
  clear = gr.Button("Clear")
22
 
23
  btn.click(generate, [text, length], [text])
24
+ clear.click(lambda: "", [], [text], show_api=False)
25
 
26
  if __name__ == "__main__":
27
+ demo.launch(debug=True)