Dhanush S Gowda commited on
Commit
d5166eb
·
verified ·
1 Parent(s): d174e24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -312,7 +312,7 @@ def construct_gemini_prompt(environment, objects, overlapping_regions, back_capt
312
  prompt += "\nThe background of the scene includes:\n"
313
  prompt += f"- {back_caption}\n"
314
 
315
- prompt += "\nPlease create a very basic simple realistic-like story that describes the scene, incorporating the objects and their interactions."
316
 
317
  return prompt
318
 
@@ -329,7 +329,7 @@ def main():
329
  image_file = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])
330
  genre = st.selectbox(
331
  "Select Genre",
332
- ["Adventure", "Fantasy", "Sci-Fi", "Mystery", "Romance", "Horror", "Comedy"]
333
  )
334
 
335
  if image_file:
 
312
  prompt += "\nThe background of the scene includes:\n"
313
  prompt += f"- {back_caption}\n"
314
 
315
+ prompt += "\nPlease create a realistic-like story that describes the scene, incorporating the objects and their interactions only strictly."
316
 
317
  return prompt
318
 
 
329
  image_file = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])
330
  genre = st.selectbox(
331
  "Select Genre",
332
+ ["Normal", "Adventure", "Fantasy", "Sci-Fi", "Mystery", "Romance", "Horror", "Comedy"]
333
  )
334
 
335
  if image_file: