aakarsh-yadav-tcgls commited on
Commit
153bf06
1 Parent(s): 089621c

setting up api calling

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -18,9 +18,3 @@ def query(payload):
18
  output = query(input_data)
19
 
20
  print(output)
21
- # Check the response
22
- if response.status_code == 200:
23
- result = response.json()
24
- print("API Response:", result)
25
- else:
26
- print("Error:", response.status_code, response.text)
 
18
  output = query(input_data)
19
 
20
  print(output)