Spaces:
Runtime error
Runtime error
Kvikontent
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,8 @@ def generate_image_from_prompt(prompt_text):
|
|
20 |
title = "KVIImager 2.0 Demo 🎨"
|
21 |
description = "This app uses Hugging Face AI model to generate an image based on the provided text prompt 🖼️."
|
22 |
|
23 |
-
input_prompt = gr.
|
24 |
-
output_generated_image = gr.
|
25 |
|
26 |
with gr.Blocks(theme=gr.theme.Soft()) as app:
|
27 |
caption = "Generate Image"
|
|
|
20 |
title = "KVIImager 2.0 Demo 🎨"
|
21 |
description = "This app uses Hugging Face AI model to generate an image based on the provided text prompt 🖼️."
|
22 |
|
23 |
+
input_prompt = gr.Textbox(label="Enter Prompt 📝", placeholder="E.g. 'A peaceful garden with a small cottage'")
|
24 |
+
output_generated_image = gr.Image(label="Generated Image")
|
25 |
|
26 |
with gr.Blocks(theme=gr.theme.Soft()) as app:
|
27 |
caption = "Generate Image"
|