Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,8 +17,6 @@ models =[
|
|
| 17 |
|
| 18 |
]
|
| 19 |
|
| 20 |
-
text_gen1=gr.Interface.load("spaces/phenomenon1981/MagicPrompt-Stable-Diffusion")
|
| 21 |
-
|
| 22 |
|
| 23 |
model_functions = {}
|
| 24 |
model_idx = 1
|
|
@@ -143,6 +141,7 @@ with gr.Blocks(title="SD Models") as my_interface:
|
|
| 143 |
tog_box,
|
| 144 |
tog_box,
|
| 145 |
cancels=[*list(runs_dict.values())])
|
|
|
|
| 146 |
|
| 147 |
my_interface.queue(concurrency_count=600, status_update_rate=1)
|
| 148 |
-
my_interface.launch(inline=True, show_api=
|
|
|
|
| 17 |
|
| 18 |
]
|
| 19 |
|
|
|
|
|
|
|
| 20 |
|
| 21 |
model_functions = {}
|
| 22 |
model_idx = 1
|
|
|
|
| 141 |
tog_box,
|
| 142 |
tog_box,
|
| 143 |
cancels=[*list(runs_dict.values())])
|
| 144 |
+
text_gen1=gr.Interface.load("spaces/phenomenon1981/MagicPrompt-Stable-Diffusion")
|
| 145 |
|
| 146 |
my_interface.queue(concurrency_count=600, status_update_rate=1)
|
| 147 |
+
my_interface.launch(inline=True, show_api=True)
|