artintel235 commited on
Commit
d4ff792
·
verified ·
1 Parent(s): 08a9676

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def generate_image(prompt, aspect_ratio, realism):
61
  return f"error"
62
  # Define the Gradio interface
63
  interface = gr.Interface(
64
- fn=gradio_generate_image,
65
  inputs=[
66
  gr.Textbox(label="Prompt", placeholder="Describe the image you want to generate"),
67
  gr.Radio(
 
61
  return f"error"
62
  # Define the Gradio interface
63
  interface = gr.Interface(
64
+ fn=generate_image,
65
  inputs=[
66
  gr.Textbox(label="Prompt", placeholder="Describe the image you want to generate"),
67
  gr.Radio(