subashpoudel commited on
Commit
23c0787
Β·
1 Parent(s): f6681fa

next commit

Browse files
src/looks_analyzer/prompts.py CHANGED
@@ -1,14 +1,15 @@
1
  def prompt(user_query: str = None) -> str:
2
  base_prompt = '''
 
3
  Analyze the person in this image and evaluate their overall appearance, style, and presentation.
4
- Provide constructive suggestions to enhance their looks, grooming, and fashion.
5
  Focus on actionable, practical, and personalized recommendations.
6
  Do not add unrelated details or opinions.
7
- Return concise, clear advice only shortly in 40 words only.
8
  '''
9
 
10
  if user_query:
11
- return base_prompt + f'\nAlso, take into account the user’s request: "{user_query}".'
12
  else:
13
  return base_prompt
14
 
 
1
  def prompt(user_query: str = None) -> str:
2
  base_prompt = '''
3
+ You are a perfect looks anakyzer by analyzing the user's image and user's query or request.
4
  Analyze the person in this image and evaluate their overall appearance, style, and presentation.
5
+ Provide constructive suggestions to enhance their looks, grooming, and fashion according to the user's query.
6
  Focus on actionable, practical, and personalized recommendations.
7
  Do not add unrelated details or opinions.
8
+ Return concise, clear advice only shortly in 100 words only.
9
  '''
10
 
11
  if user_query:
12
+ return base_prompt + f'\nThe user’s request is: "{user_query}".'
13
  else:
14
  return base_prompt
15
 
streamlit/app.py CHANGED
@@ -1,2 +1,3 @@
1
  import streamlit as st
2
- st.set_page_config(page_title="REVEL-RIZZ", layout="centered")
 
 
1
  import streamlit as st
2
+ st.set_page_config(page_title="REVEL-RIZZ", layout="centered")
3
+ st.title('REVEL-RIZZ')
streamlit/pages/check_looks.py CHANGED
@@ -7,7 +7,7 @@ API_URL = "https://dvorakinnovationai-revel-rizz-api.hf.space/api/looks-analyzer
7
 
8
  st.set_page_config(page_title="Looks Analyzer", page_icon="πŸ§‘β€πŸŽ¨", layout="centered")
9
 
10
- st.title("πŸ§‘β€πŸŽ¨ Looks Analyzer")
11
  st.write("Upload your image and get style & looks suggestions!")
12
 
13
  # Upload image
 
7
 
8
  st.set_page_config(page_title="Looks Analyzer", page_icon="πŸ§‘β€πŸŽ¨", layout="centered")
9
 
10
+ st.title("Looks Analyzer")
11
  st.write("Upload your image and get style & looks suggestions!")
12
 
13
  # Upload image
streamlit/pages/pickup_line_generator.py CHANGED
@@ -6,7 +6,7 @@ API_URL = "https://dvorakinnovationai-revel-rizz-api.hf.space/api/pickup-line-ge
6
 
7
  st.set_page_config(page_title="Pickup Line Generator", page_icon="πŸ’˜", layout="centered")
8
 
9
- st.title("πŸ’˜ Pickup Line Generator")
10
  st.write("Generate fun and creative pickup lines with customizable tones and attributes.")
11
 
12
  # User query input
 
6
 
7
  st.set_page_config(page_title="Pickup Line Generator", page_icon="πŸ’˜", layout="centered")
8
 
9
+ st.title("Pickup Line Generator")
10
  st.write("Generate fun and creative pickup lines with customizable tones and attributes.")
11
 
12
  # User query input
streamlit/pages/reply_generator.py CHANGED
@@ -8,8 +8,8 @@ API_URL = "https://dvorakinnovationai-revel-rizz-api.hf.space/api/reply-generato
8
 
9
  st.set_page_config(page_title="Reply Generator", page_icon="πŸ’¬", layout="centered")
10
 
11
- st.title("πŸ’¬ Reply Generator")
12
- st.write("Upload an image, ask a question, and get AI-powered replies.")
13
 
14
  # Upload image
15
  uploaded_file = st.file_uploader("Upload an image (JPG/PNG)", type=["jpg", "jpeg", "png"])
 
8
 
9
  st.set_page_config(page_title="Reply Generator", page_icon="πŸ’¬", layout="centered")
10
 
11
+ st.title("Reply Generator")
12
+ st.write("Upload image of chat , ask a question, and get AI-powered replies.")
13
 
14
  # Upload image
15
  uploaded_file = st.file_uploader("Upload an image (JPG/PNG)", type=["jpg", "jpeg", "png"])