martynka commited on
Commit
956ff4f
·
verified ·
1 Parent(s): 7aa1cfc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def upload_to_chevereto(image: Image.Image) -> str:
36
 
37
  # Generate and upload the image
38
  def generate_image_and_upload(prompt: str) -> str:
39
- img = img = model.submit([prompt]) # Get generated image
40
  return upload_to_chevereto(img) # Upload and return the URL
41
 
42
  # Define Gradio API returning the Chevereto public URL
 
36
 
37
  # Generate and upload the image
38
  def generate_image_and_upload(prompt: str) -> str:
39
+ img = model.submit([prompt]) # Get generated image
40
  return upload_to_chevereto(img) # Upload and return the URL
41
 
42
  # Define Gradio API returning the Chevereto public URL