Reyad-Ahmmed commited on
Commit
c6b0416
·
verified ·
1 Parent(s): c66a662

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -319,7 +319,7 @@ if (should_train_model=='1'): #train model
319
  )
320
 
321
  url = "http://210.1.253.35:200/api/hello" # Example API
322
- response = requests.get(url, timeout=120)
323
 
324
  if response.status_code == 200:
325
  jsonify({"message": "Hello, World!"})
 
319
  )
320
 
321
  url = "http://210.1.253.35:200/api/hello" # Example API
322
+ response = request.get(url, timeout=120)
323
 
324
  if response.status_code == 200:
325
  jsonify({"message": "Hello, World!"})