Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -205,6 +205,11 @@ with gr.Blocks(css=css) as myface:
|
|
205 |
run.click(send_it6, inputs=[magic6, model_name1], outputs=[output6])
|
206 |
run.click(send_it7, inputs=[magic7, model_name1], outputs=[output7])
|
207 |
run.click(send_it8, inputs=[magic8, model_name1], outputs=[output8])
|
|
|
|
|
|
|
|
|
|
|
208 |
|
209 |
use_short.click(short_prompt,inputs=[prompt],outputs=magic1)
|
210 |
use_short.click(short_prompt,inputs=[prompt],outputs=magic2)
|
@@ -224,10 +229,5 @@ with gr.Blocks(css=css) as myface:
|
|
224 |
see_prompts.click(text_it7,inputs=[prompt],outputs=magic7)
|
225 |
see_prompts.click(text_it8,inputs=[prompt],outputs=magic8)
|
226 |
|
227 |
-
with gr.Row():
|
228 |
-
with gr.Column(scale=50):
|
229 |
-
use_short=gr.Button("Copy Prompt to All Boxes")
|
230 |
-
see_prompts=gr.Button("Extend Prompts")
|
231 |
-
|
232 |
myface.queue(concurrency_count=200)
|
233 |
myface.launch(inline=True, show_api=False, max_threads=400)
|
|
|
205 |
run.click(send_it6, inputs=[magic6, model_name1], outputs=[output6])
|
206 |
run.click(send_it7, inputs=[magic7, model_name1], outputs=[output7])
|
207 |
run.click(send_it8, inputs=[magic8, model_name1], outputs=[output8])
|
208 |
+
|
209 |
+
with gr.Row():
|
210 |
+
with gr.Column(scale=50):
|
211 |
+
use_short=gr.Button("Copy Prompt to All Boxes")
|
212 |
+
see_prompts=gr.Button("Extend Prompts")
|
213 |
|
214 |
use_short.click(short_prompt,inputs=[prompt],outputs=magic1)
|
215 |
use_short.click(short_prompt,inputs=[prompt],outputs=magic2)
|
|
|
229 |
see_prompts.click(text_it7,inputs=[prompt],outputs=magic7)
|
230 |
see_prompts.click(text_it8,inputs=[prompt],outputs=magic8)
|
231 |
|
|
|
|
|
|
|
|
|
|
|
232 |
myface.queue(concurrency_count=200)
|
233 |
myface.launch(inline=True, show_api=False, max_threads=400)
|