Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -170,9 +170,6 @@ with gr.Blocks(css=css) as myface:
|
|
| 170 |
with gr.Column(scale=100):
|
| 171 |
#Model selection dropdown
|
| 172 |
model_name1 = gr.Dropdown(label="Select Model", choices=[m for m in models], type="index", value=current_model, interactive=True)
|
| 173 |
-
with gr.Column():
|
| 174 |
-
use_short=gr.Button("Use Short Prompt")
|
| 175 |
-
see_prompts=gr.Button("Extend Idea")
|
| 176 |
with gr.Tab("Main"):
|
| 177 |
with gr.Row():
|
| 178 |
output1=gr.Image(label=(f"{current_model}"))
|
|
@@ -227,7 +224,10 @@ with gr.Blocks(css=css) as myface:
|
|
| 227 |
see_prompts.click(text_it7,inputs=[prompt],outputs=magic7)
|
| 228 |
see_prompts.click(text_it8,inputs=[prompt],outputs=magic8)
|
| 229 |
|
| 230 |
-
|
|
|
|
|
|
|
|
|
|
| 231 |
|
| 232 |
myface.queue(concurrency_count=200)
|
| 233 |
myface.launch(inline=True, show_api=False, max_threads=400)
|
|
|
|
| 170 |
with gr.Column(scale=100):
|
| 171 |
#Model selection dropdown
|
| 172 |
model_name1 = gr.Dropdown(label="Select Model", choices=[m for m in models], type="index", value=current_model, interactive=True)
|
|
|
|
|
|
|
|
|
|
| 173 |
with gr.Tab("Main"):
|
| 174 |
with gr.Row():
|
| 175 |
output1=gr.Image(label=(f"{current_model}"))
|
|
|
|
| 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)
|