drvikasgaur commited on
Commit
363d2a7
·
verified ·
1 Parent(s): b0b56c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -145,15 +145,15 @@ def run_final_analysis():
145
  yes_summary = format_yes_responses()
146
 
147
  prompt = (
148
- "The user has reported the following symptoms: "
149
- f"{yes_summary} "
150
- "Based on these symptoms, please write a short clinical impression summarizing the likely psychiatric condition, suggest possible next steps, and provide a Hindi translation of your response. "
151
- "Start your answer directly without repeating the symptoms."
152
  )
153
 
154
 
155
 
156
 
 
157
  output = llm(prompt, max_new_tokens=400, temperature=0.3, do_sample=False)
158
  ai_result = output[0]["generated_text"]
159
 
 
145
  yes_summary = format_yes_responses()
146
 
147
  prompt = (
148
+ f"""The user has reported the following symptoms: {yes_summary}
149
+ Based on these symptoms, please write a short clinical impression summarizing the likely psychiatric condition and provide a Hindi translation of your response.
150
+ Do not repeat the symptoms."""
 
151
  )
152
 
153
 
154
 
155
 
156
+
157
  output = llm(prompt, max_new_tokens=400, temperature=0.3, do_sample=False)
158
  ai_result = output[0]["generated_text"]
159