drvikasgaur commited on
Commit
79614b8
·
verified ·
1 Parent(s): c39d703

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -146,7 +146,8 @@ def run_final_analysis():
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
  """
151
  )
152
 
@@ -154,7 +155,7 @@ Based on these symptoms, please write a short clinical impression summarizing th
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
 
160
  yield (
 
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 its further management.
150
+ On the basis of symptomes mentioned
151
  """
152
  )
153
 
 
155
 
156
 
157
 
158
+ output = llm(prompt, max_new_tokens=300, temperature=0.3, do_sample=False)
159
  ai_result = output[0]["generated_text"]
160
 
161
  yield (