jslin09 commited on
Commit
da2e8ee
·
1 Parent(s): 07e1277

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -61,8 +61,8 @@ with gr.Blocks() as demo:
61
  with gr.Column():
62
  result2 = gr.components.Textbox(lines=7, label="Random Generative", show_label=True, placeholder=prompts[1])
63
  gr.Examples(examples, label='Examples', inputs=[result2])
64
- btn = gr.Button("Random Drafting")
65
- btn.click(rnd_generate, inputs=[result2], outputs=[result2])
66
 
67
  if __name__ == "__main__":
68
  demo.launch()
 
61
  with gr.Column():
62
  result2 = gr.components.Textbox(lines=7, label="Random Generative", show_label=True, placeholder=prompts[1])
63
  gr.Examples(examples, label='Examples', inputs=[result2])
64
+ rnd_btn = gr.Button("Random Drafting")
65
+ rnd_btn.click(rnd_generate, inputs=[result2], outputs=[result2])
66
 
67
  if __name__ == "__main__":
68
  demo.launch()