apratim24 commited on
Commit
7167899
·
verified ·
1 Parent(s): 6d429c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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