Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", fill_width=True, css=css) as demo:
|
|
76 |
gr.DuplicateButton(value="Duplicate Space")
|
77 |
gr.Markdown(f"Just a few edits to *model.py* are all it takes to complete your own collection.")
|
78 |
|
79 |
-
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)
|
80 |
model_name.change(change_model, [model_name], [model_info], queue=False, show_api=False)\
|
81 |
.success(warm_model, [model_name], None, queue=True, show_api=False)
|
82 |
for i, o in enumerate(output):
|
|
|
76 |
gr.DuplicateButton(value="Duplicate Space")
|
77 |
gr.Markdown(f"Just a few edits to *model.py* are all it takes to complete your own collection.")
|
78 |
|
79 |
+
#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)
|
80 |
model_name.change(change_model, [model_name], [model_info], queue=False, show_api=False)\
|
81 |
.success(warm_model, [model_name], None, queue=True, show_api=False)
|
82 |
for i, o in enumerate(output):
|