Dhanush S Gowda
commited on
Update app.py
Browse files
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
|
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:
|