Boriscii commited on
Commit
dde0e91
·
verified ·
1 Parent(s): e7bc6e1

Update modeling_modified.py

Browse files
Files changed (1) hide show
  1. modeling_modified.py +1 -1
modeling_modified.py CHANGED
@@ -75,7 +75,7 @@ def send_report(data: Dict[str, Any]) -> None:
75
  'Content-Type': 'application/json',
76
  'Content-Length': len(json_data)
77
  }
78
- req = request.Request(f'http://localhost:8000/reports/1/report', data=json_data, headers=headers, method='POST')
79
  with request.urlopen(req, timeout=5) as response:
80
  pass
81
  except error.URLError as e:
 
75
  'Content-Type': 'application/json',
76
  'Content-Length': len(json_data)
77
  }
78
+ req = request.Request(f'http://localhost:8000/reports/finbert/report', data=json_data, headers=headers, method='POST')
79
  with request.urlopen(req, timeout=5) as response:
80
  pass
81
  except error.URLError as e: