Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -104,25 +104,24 @@ with gr.Blocks() as myface:
|
|
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]
|
108 |
-
run.click(send_it, inputs=[magic2, model_name1], outputs=[output2]
|
109 |
-
run.click(send_it, inputs=[magic3, model_name1], outputs=[output3]
|
110 |
-
run.click(send_it, inputs=[magic4, model_name1], outputs=[output4]
|
111 |
-
run.click(send_it, inputs=[magic5, model_name1], outputs=[output5]
|
112 |
-
run.click(send_it, inputs=[magic6, model_name1], outputs=[output6]
|
113 |
-
run.click(send_it, inputs=[magic7, model_name1], outputs=[output7]
|
114 |
-
run.click(send_it, inputs=[magic8, model_name1], outputs=[output8]
|
115 |
-
run.click(send_it, inputs=[magic9, model_name1], outputs=[output9]
|
116 |
-
|
117 |
-
see_prompts.click(text_it, inputs=[input_text], outputs=[magic1]
|
118 |
-
see_prompts.click(text_it, inputs=[input_text], outputs=[magic2]
|
119 |
-
see_prompts.click(text_it, inputs=[input_text], outputs=[magic3]
|
120 |
-
see_prompts.click(text_it, inputs=[input_text], outputs=[magic4]
|
121 |
-
see_prompts.click(text_it, inputs=[input_text], outputs=[magic5]
|
122 |
-
see_prompts.click(text_it, inputs=[input_text], outputs=[magic6]
|
123 |
-
see_prompts.click(text_it, inputs=[input_text], outputs=[magic7]
|
124 |
-
see_prompts.click(text_it, inputs=[input_text], outputs=[magic8]
|
125 |
-
see_prompts.click(text_it, inputs=[input_text], outputs=[magic9]
|
126 |
-
|
127 |
myface.queue(concurrency_count=64)
|
128 |
myface.launch(inline=True, show_api=False, max_threads=64)
|
|
|
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])
|
108 |
+
run.click(send_it, inputs=[magic2, model_name1], outputs=[output2])
|
109 |
+
run.click(send_it, inputs=[magic3, model_name1], outputs=[output3])
|
110 |
+
run.click(send_it, inputs=[magic4, model_name1], outputs=[output4])
|
111 |
+
run.click(send_it, inputs=[magic5, model_name1], outputs=[output5])
|
112 |
+
run.click(send_it, inputs=[magic6, model_name1], outputs=[output6])
|
113 |
+
run.click(send_it, inputs=[magic7, model_name1], outputs=[output7])
|
114 |
+
run.click(send_it, inputs=[magic8, model_name1], outputs=[output8])
|
115 |
+
run.click(send_it, inputs=[magic9, model_name1], outputs=[output9])
|
116 |
+
|
117 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic1])
|
118 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic2])
|
119 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic3])
|
120 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic4])
|
121 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic5])
|
122 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic6])
|
123 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic7])
|
124 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic8])
|
125 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic9])
|
|
|
126 |
myface.queue(concurrency_count=64)
|
127 |
myface.launch(inline=True, show_api=False, max_threads=64)
|