Harshveer commited on
Commit
cbad43a
Β·
1 Parent(s): 7a60777

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ with gr.Blocks() as myface:
102
  magic8 = gr.Textbox(label="Generated Prompt", lines=2)
103
  magic9 = gr.Textbox(label="Generated Prompt", lines=2)
104
 
105
- model_name1.change(set_model, inputs=model_name1, outputs=[output1, output2, output3, output4, output5, output6, output7, output8, output9])
106
 
107
  run.click(send_it, inputs=[magic1, model_name1], outputs=[output1], batch=True, max_batch_size=32)
108
  run.click(send_it, inputs=[magic2, model_name1], outputs=[output2], batch=True, max_batch_size=32)
 
102
  magic8 = gr.Textbox(label="Generated Prompt", lines=2)
103
  magic9 = gr.Textbox(label="Generated Prompt", lines=2)
104
 
105
+ model_name1.change(set_model, inputs=model_name1, outputs=model_name1)
106
 
107
  run.click(send_it, inputs=[magic1, model_name1], outputs=[output1], batch=True, max_batch_size=32)
108
  run.click(send_it, inputs=[magic2, model_name1], outputs=[output2], batch=True, max_batch_size=32)