Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -309,6 +309,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
309 |
negative_prompt.submit,
|
310 |
run_button.click,
|
311 |
],
|
|
|
312 |
fn=generate,
|
313 |
inputs=[
|
314 |
model_choice,
|
|
|
309 |
negative_prompt.submit,
|
310 |
run_button.click,
|
311 |
],
|
312 |
+
api_name="generate", # Add this line
|
313 |
fn=generate,
|
314 |
inputs=[
|
315 |
model_choice,
|