mecoffey commited on
Commit
c26ddd7
·
1 Parent(s): 1235e61

removed string passed into button press

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ with gr.Blocks() as demo:
31
  text_out1 = gr.Textbox(label = "Description")
32
  text_out2 = gr.Textbox(label = "Backstory")
33
  btn.click(fn = char_description,inputs = text_in, outputs = [text_out1, text_out2])
34
- rand.click(fn = char_description,inputs = "random", outputs = [text_out1, text_out2])
35
 
36
 
37
  with gr.Column(scale = 0):
 
31
  text_out1 = gr.Textbox(label = "Description")
32
  text_out2 = gr.Textbox(label = "Backstory")
33
  btn.click(fn = char_description,inputs = text_in, outputs = [text_out1, text_out2])
34
+ rand.click(fn = char_description,inputs = text_in, outputs = [text_out1, text_out2])
35
 
36
 
37
  with gr.Column(scale = 0):