ford442 commited on
Commit
939003e
·
1 Parent(s): 992f3e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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,