cutiee82 commited on
Commit
36344e0
·
1 Parent(s): 6b0a99d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def main():
18
  length = gr.Number(label="Length", value=25)
19
  with gr.Row():
20
  btn = gr.Button("Generate", variant="primary")
21
- clear = gr.ClearButton([text])
22
  btn.click(generate, [text, length], [text])
23
  demo.queue().launch(debug=True)
24
 
 
18
  length = gr.Number(label="Length", value=25)
19
  with gr.Row():
20
  btn = gr.Button("Generate", variant="primary")
21
+ gr.ClearButton([text])
22
  btn.click(generate, [text, length], [text])
23
  demo.queue().launch(debug=True)
24