datafreak commited on
Commit
5b1c447
·
verified ·
1 Parent(s): 0b5759a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -122,7 +122,7 @@ Provide a brief wellness summary explaining the predicted KPIs and recommended p
122
  Use the responses and personal details to generate KPI predictions, determine the recommended *DailyWellnessAI* package(s), and provide a concise summary report that briefly justifies the recommendations, taking into account the user's age, gender, height, and weight.
123
  """
124
 
125
- chat = ChatGroq(api_key=api_key, model="llama-3.3-70b-versatile", temperature=0.2)
126
  prompt_template = PromptTemplate(
127
  input_variables=["age", "gender", "height", "weight"] + [f"ans{i}" for i in range(1, 16)],
128
  template=template
@@ -316,7 +316,6 @@ def build_app():
316
  gr.Markdown("Fill out the questionnaire below to receive personalized insights and recommendations.")
317
  with gr.Row():
318
  with gr.Column():
319
- name = gr.Textbox(label="Your Name", placeholder="Enter your name")
320
  age = gr.Number(label="Your Age")
321
  gender = gr.Dropdown(label="Your Gender", choices=["Male", "Female", "Other"], value="Male")
322
  height = gr.Textbox(label="Your Height (e.g., 180 cm)", placeholder="Enter your height")
 
122
  Use the responses and personal details to generate KPI predictions, determine the recommended *DailyWellnessAI* package(s), and provide a concise summary report that briefly justifies the recommendations, taking into account the user's age, gender, height, and weight.
123
  """
124
 
125
+ chat = ChatGroq(api_key=api_key, model="mixtral-8x7b-32768", temperature=0.2)
126
  prompt_template = PromptTemplate(
127
  input_variables=["age", "gender", "height", "weight"] + [f"ans{i}" for i in range(1, 16)],
128
  template=template
 
316
  gr.Markdown("Fill out the questionnaire below to receive personalized insights and recommendations.")
317
  with gr.Row():
318
  with gr.Column():
 
319
  age = gr.Number(label="Your Age")
320
  gender = gr.Dropdown(label="Your Gender", choices=["Male", "Female", "Other"], value="Male")
321
  height = gr.Textbox(label="Your Height (e.g., 180 cm)", placeholder="Enter your height")