Spaces:
Sleeping
Sleeping
edit horoscope tool
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def get_horoscope(zodiac_sign: str) -> str:
|
|
| 42 |
for item in content[:6]:
|
| 43 |
l.append(item.get_text())
|
| 44 |
|
| 45 |
-
return "".join(l)
|
| 46 |
|
| 47 |
except Exception as e:
|
| 48 |
return f"Error fetching the horoscope."
|
|
|
|
| 42 |
for item in content[:6]:
|
| 43 |
l.append(item.get_text())
|
| 44 |
|
| 45 |
+
return f"Tomorros's horoscope for the sign of {zodiac_sign} is as follow:"+ "\n" + " ".join(l)
|
| 46 |
|
| 47 |
except Exception as e:
|
| 48 |
return f"Error fetching the horoscope."
|