Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", fill_width=True, css=css) as demo:
|
|
110 |
gr.DuplicateButton(value="Duplicate Space")
|
111 |
gr.Markdown(f"Just a few edits to *model.py* are all it takes to complete your own collection.")
|
112 |
|
113 |
-
gr.on(triggers=[run_button.click, prompt.submit, random_button.click], fn=lambda: gr.update(interactive=True), inputs=None, outputs=stop_button, show_api=False)
|
114 |
model_name.change(change_model, [model_name], [model_info], queue=False, show_api=False)\
|
115 |
.success(warm_model, [model_name], None, queue=True, show_api=False)
|
116 |
for i, o in enumerate(output):
|
|
|
110 |
gr.DuplicateButton(value="Duplicate Space")
|
111 |
gr.Markdown(f"Just a few edits to *model.py* are all it takes to complete your own collection.")
|
112 |
|
113 |
+
#gr.on(triggers=[run_button.click, prompt.submit, random_button.click], fn=lambda: gr.update(interactive=True), inputs=None, outputs=stop_button, show_api=False)
|
114 |
model_name.change(change_model, [model_name], [model_info], queue=False, show_api=False)\
|
115 |
.success(warm_model, [model_name], None, queue=True, show_api=False)
|
116 |
for i, o in enumerate(output):
|