Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
| 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)
|