Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ URL = "http://localhost:5000/predictions"
|
|
13 |
SCHEMA_URL = "http://localhost:5000/openapi.json"
|
14 |
|
15 |
def get_schema():
|
16 |
-
response = requests.
|
17 |
json_response = response.json()
|
18 |
print("The schema")
|
19 |
print(json_response)
|
|
|
13 |
SCHEMA_URL = "http://localhost:5000/openapi.json"
|
14 |
|
15 |
def get_schema():
|
16 |
+
response = requests.get(SCHEMA_URL)
|
17 |
json_response = response.json()
|
18 |
print("The schema")
|
19 |
print(json_response)
|