Spaces:
Running
Running
Update app.py
Browse files
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
|
| 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 |
|