Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ def generate_image_from_prompt(prompt_text):
|
|
| 54 |
return pil_img # Return the converted PIL image
|
| 55 |
|
| 56 |
title = "Midjourney V6 Demo π¨"
|
| 57 |
-
description = "This app uses Hugging Face AI model to generate an image based on the provided text prompt πΌ."
|
| 58 |
|
| 59 |
input_prompt = gr.Textbox(label="Enter Prompt π", placeholder="E.g. 'Astronaut riding a horse'")
|
| 60 |
output_generated_image = gr.Image(label="Generated Image")
|
|
|
|
| 54 |
return pil_img # Return the converted PIL image
|
| 55 |
|
| 56 |
title = "Midjourney V6 Demo π¨"
|
| 57 |
+
description = "This app uses Hugging Face AI model api to generate an image based on the provided text prompt πΌ."
|
| 58 |
|
| 59 |
input_prompt = gr.Textbox(label="Enter Prompt π", placeholder="E.g. 'Astronaut riding a horse'")
|
| 60 |
output_generated_image = gr.Image(label="Generated Image")
|