krrishk22 commited on
Commit
d384beb
·
verified ·
1 Parent(s): f3ec2a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -77,8 +77,7 @@ def get_horoscope(sign: str, date: str = None, language: str = "EN") -> str:
77
  sign_data = data.get(sign_upper)
78
 
79
  if sign_data:
80
- prediction = sign_data.get("Prediction", "No prediction found.")
81
- return f"Horoscope for {sign.capitalize()} on {formatted_date}:\n{prediction}"
82
 
83
  return f"No horoscope found for sign: {sign}"
84
 
 
77
  sign_data = data.get(sign_upper)
78
 
79
  if sign_data:
80
+ return sign_data
 
81
 
82
  return f"No horoscope found for sign: {sign}"
83