Spaces:
Runtime error
Runtime error
Commit
·
e288caf
1
Parent(s):
1ce3579
Update app.py
Browse files
app.py
CHANGED
@@ -239,11 +239,11 @@ def generate_image(prompt):
|
|
239 |
|
240 |
iface = gr.Interface(
|
241 |
fn=generate_image,
|
242 |
-
inputs=gr.inputs.Textbox(label="Enter prompt"),
|
243 |
outputs="text",
|
244 |
title="KVIImager 2.0 - Image Generator",
|
245 |
-
description="Generate images based on a prompt
|
246 |
-
examples=[["
|
247 |
)
|
248 |
|
249 |
iface.launch()
|
|
|
239 |
|
240 |
iface = gr.Interface(
|
241 |
fn=generate_image,
|
242 |
+
inputs=gr.inputs.Textbox(label="Enter prompt"), # Add an input field of type Textbox
|
243 |
outputs="text",
|
244 |
title="KVIImager 2.0 - Image Generator",
|
245 |
+
description="Generate images based on a prompt.",
|
246 |
+
examples=[["Blue man avatar standing in rainforest"], ["Realistic landscape in mountains"]]
|
247 |
)
|
248 |
|
249 |
iface.launch()
|