Rishit commited on
Commit
bb7ebfc
·
verified ·
1 Parent(s): e5b75c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -4,7 +4,7 @@ import requests
4
  # API endpoint URL for the Horoscope API
5
  API_URL = "https://ai-research.quarkgen.ai/templedekho/numerology/v1"
6
 
7
- def get_horoscope_response(name, year, month, day, hour, minutes, city, nation, question):
8
  """
9
  Send a POST request to the horoscope API with the user-provided parameters.
10
  """
@@ -18,8 +18,8 @@ def get_horoscope_response(name, year, month, day, hour, minutes, city, nation,
18
  "minutes": int(minutes),
19
  "city": city,
20
  "nation": nation,
21
- "question": question,
22
- "language": language
23
  }
24
 
25
  response = requests.post(API_URL, json=payload)
 
4
  # API endpoint URL for the Horoscope API
5
  API_URL = "https://ai-research.quarkgen.ai/templedekho/numerology/v1"
6
 
7
+ def get_horoscope_response(name, year, month, day, hour, minutes, city, nation, language, question):
8
  """
9
  Send a POST request to the horoscope API with the user-provided parameters.
10
  """
 
18
  "minutes": int(minutes),
19
  "city": city,
20
  "nation": nation,
21
+ "language": language,
22
+ "question": question
23
  }
24
 
25
  response = requests.post(API_URL, json=payload)