suzall commited on
Commit
3c5dc8f
·
verified ·
1 Parent(s): 6050b1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -72,9 +72,9 @@ if uploaded_file is not None:
72
 
73
  # Build generation prompt based on VQA responses and user input
74
  if gender.lower() == "female":
75
- prompt = f"Create a full image from head to foot and close to realistic image of {age}-year-old girl with {hair_color} hair, wearing {clothing}, showing a {facial_expression}. {user_prompt}"
76
  else:
77
- prompt = f"Create a full image from head to foot and close to realistic image of {age}-year-old person with {hair_color} hair, wearing {clothing}, showing a {facial_expression}. {user_prompt}"
78
 
79
  # Call image generation API
80
  with st.spinner("Generating the image..."):
 
72
 
73
  # Build generation prompt based on VQA responses and user input
74
  if gender.lower() == "female":
75
+ prompt = f"Create a full image from head to foot and use your creativity to generate image of {age}-year-old girl with {hair_color} hair, wearing {clothing}, showing a {facial_expression}. {user_prompt}"
76
  else:
77
+ prompt = f"Create a full image from head to foot and use your creativity to generate image of {age}-year-old person with {hair_color} hair, wearing {clothing}, showing a {facial_expression}. {user_prompt}"
78
 
79
  # Call image generation API
80
  with st.spinner("Generating the image..."):