Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -191,6 +191,10 @@ with gr.Blocks(css=css) as myface:
|
|
191 |
magic6=gr.Textbox(lines=4)
|
192 |
magic7=gr.Textbox(lines=4)
|
193 |
magic8=gr.Textbox(lines=4)
|
|
|
|
|
|
|
|
|
194 |
|
195 |
def short_prompt(inputs):
|
196 |
return(inputs)
|
@@ -206,11 +210,6 @@ with gr.Blocks(css=css) as myface:
|
|
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)
|
216 |
use_short.click(short_prompt,inputs=[prompt],outputs=magic3)
|
|
|
191 |
magic6=gr.Textbox(lines=4)
|
192 |
magic7=gr.Textbox(lines=4)
|
193 |
magic8=gr.Textbox(lines=4)
|
194 |
+
with gr.Row():
|
195 |
+
with gr.Column(scale=50):
|
196 |
+
use_short=gr.Button("Copy Prompt to All Boxes")
|
197 |
+
see_prompts=gr.Button("Extend Prompts")
|
198 |
|
199 |
def short_prompt(inputs):
|
200 |
return(inputs)
|
|
|
210 |
run.click(send_it7, inputs=[magic7, model_name1], outputs=[output7])
|
211 |
run.click(send_it8, inputs=[magic8, model_name1], outputs=[output8])
|
212 |
|
|
|
|
|
|
|
|
|
|
|
213 |
use_short.click(short_prompt,inputs=[prompt],outputs=magic1)
|
214 |
use_short.click(short_prompt,inputs=[prompt],outputs=magic2)
|
215 |
use_short.click(short_prompt,inputs=[prompt],outputs=magic3)
|