Kvikontent commited on
Commit
e7b5b75
·
verified ·
1 Parent(s): 15367d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.inputs.Textbox(label="Enter Prompt 📝", placeholder="E.g. 'A peaceful garden with a small cottage'")
24
- output_generated_image = gr.outputs.Image(label="Generated Image")
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"