multimodalart HF Staff commited on
Commit
5d63c5a
·
verified ·
1 Parent(s): 3fece6d

Update app.py

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