J3 commited on
Commit
a548c04
·
verified ·
1 Parent(s): 4ab1258

edit horoscope tool

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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."