Spaces:
Sleeping
Sleeping
srivatsavdamaraju
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def get_metadata():
|
|
35 |
|
36 |
# Make the GET request to the external API
|
37 |
url = "https://ig.aidtaas.com/python-pipelines/graphrag/v1.0/getMetaData"
|
38 |
-
response = requests.
|
39 |
|
40 |
# Check the response from the external service
|
41 |
if response.status_code == 200:
|
|
|
35 |
|
36 |
# Make the GET request to the external API
|
37 |
url = "https://ig.aidtaas.com/python-pipelines/graphrag/v1.0/getMetaData"
|
38 |
+
response = requests.post(url, headers=headers, data=payload)
|
39 |
|
40 |
# Check the response from the external service
|
41 |
if response.status_code == 200:
|