krrishk22 commited on
Commit
4c75ad6
·
verified ·
1 Parent(s): 890b08e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,8 +63,8 @@ def get_horoscope(sign: str, date: str = None, language: str = "EN") -> str:
63
  formatted_date = date_obj.strftime("%d-%m-%Y")
64
 
65
  # ... (rest of the function is the same)
66
- url = "https://api.exaweb.in:3004/api/rashi/getForAllLangs"
67
- response = requests.get(url, params={"day": formatted_date, "language": language})
68
  response.raise_for_status()
69
  data = response.json()
70
 
 
63
  formatted_date = date_obj.strftime("%d-%m-%Y")
64
 
65
  # ... (rest of the function is the same)
66
+ url = "https://api.exaweb.in:3004/api/rashi"
67
+ response = requests.get(url, params={"rashi": sign, "day": formatted_date, "language": language})
68
  response.raise_for_status()
69
  data = response.json()
70