krrishkh12 commited on
Commit
d80354d
·
verified ·
1 Parent(s): b768ea5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -140,7 +140,7 @@ def get_date_panchang(date: str = None, data_language: str = "EN") -> str:
140
  f"✨ Nakshatra: {', '.join(summary['Nakshatra'] or ['N/A'])}\n"
141
  f"🧘 Yoga: {', '.join(summary['Yoga'] or ['N/A'])}\n"
142
  f"🔺 Karana: {', '.join(summary['Karana'] or ['N/A'])}\n"
143
- f"🎉 Festivals: {', '.join(summary.get('Festivals') or ['None'])}"
144
 
145
  )
146
 
@@ -283,7 +283,7 @@ final_answer = FinalAnswerTool()
283
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
284
 
285
  model = HfApiModel(
286
- max_tokens=2096,
287
  temperature=0.5,
288
  model_id='sarvamai/sarvam-m',# it is possible that this model may be overloaded
289
  custom_role_conversions=None,
 
140
  f"✨ Nakshatra: {', '.join(summary['Nakshatra'] or ['N/A'])}\n"
141
  f"🧘 Yoga: {', '.join(summary['Yoga'] or ['N/A'])}\n"
142
  f"🔺 Karana: {', '.join(summary['Karana'] or ['N/A'])}\n"
143
+ f"🎉 Festivals: {', '.join(summary['Festivals'] or ['None'])}"
144
 
145
  )
146
 
 
283
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
284
 
285
  model = HfApiModel(
286
+ max_tokens=512,
287
  temperature=0.5,
288
  model_id='sarvamai/sarvam-m',# it is possible that this model may be overloaded
289
  custom_role_conversions=None,