apratim24 commited on
Commit
7b6fa84
·
verified ·
1 Parent(s): 6170ef5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -122,7 +122,7 @@ input_image = gr.Image(label="Select Image",type="pil")
122
  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")
123
  input_genre = gr.Dropdown(["Fantasy", "Science Fiction", "Poetry", "Mystery/Thriller", "Romance", "Historical Fiction", "Horror", "Adventure", "Drama", "Comedy"], label="Input Genre")
124
  output_caption = gr.Textbox(label="Image Caption", lines=3)
125
- output_text = gr.Textbox(label="Generated Story",lines=25)
126
  examples = [
127
  ["example1.jpg", "Love and Loss", "Fantasy", 80],
128
  ["example2.jpg", "Identity and Self-Discovery", "Science Fiction", 100],
 
122
  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")
123
  input_genre = gr.Dropdown(["Fantasy", "Science Fiction", "Poetry", "Mystery/Thriller", "Romance", "Historical Fiction", "Horror", "Adventure", "Drama", "Comedy"], label="Input Genre")
124
  output_caption = gr.Textbox(label="Image Caption", lines=3)
125
+ output_text = gr.Textbox(label="Generated Story",lines=20)
126
  examples = [
127
  ["example1.jpg", "Love and Loss", "Fantasy", 80],
128
  ["example2.jpg", "Identity and Self-Discovery", "Science Fiction", 100],