Spaces:
Build error
Build error
Update app.py
Browse files
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=
|
| 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(
|