Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def generate_story(image, theme, genre):
|
|
41 |
# Gradio interface
|
42 |
input_image = gr.Image(label="Select Image",type="pil")
|
43 |
input_theme = gr.Dropdown(["Love and Loss", "Identity and Self-Discovery", "Power and Corruption", "Redemption and Forgiveness", "Survival and Resilience", "Nature and the Environment", "Justice and Injustice", "Friendship and Loyalty", "Hope and Despair"], label="Input Theme")
|
44 |
-
input_genre = gr.Dropdown(["Fantasy", "Science Fiction", "Mystery/Thriller", "Romance", "Historical Fiction", "Horror", "Adventure", "Drama", "Comedy"], label="Input Genre")
|
45 |
output_text = gr.Textbox(label="Generated Story",lines=8)
|
46 |
|
47 |
|
|
|
41 |
# Gradio interface
|
42 |
input_image = gr.Image(label="Select Image",type="pil")
|
43 |
input_theme = gr.Dropdown(["Love and Loss", "Identity and Self-Discovery", "Power and Corruption", "Redemption and Forgiveness", "Survival and Resilience", "Nature and the Environment", "Justice and Injustice", "Friendship and Loyalty", "Hope and Despair"], label="Input Theme")
|
44 |
+
input_genre = gr.Dropdown(["Fantasy", "Science Fiction", "Poetry", "Mystery/Thriller", "Romance", "Historical Fiction", "Horror", "Adventure", "Drama", "Comedy"], label="Input Genre")
|
45 |
output_text = gr.Textbox(label="Generated Story",lines=8)
|
46 |
|
47 |
|