applied black
This commit is contained in:
parent
9a32fc4e9d
commit
1b9e7f5bfe
@ -34,7 +34,7 @@ def make_file_analyzer(analysis_endpoint):
|
|||||||
def analyze_file(file_path):
|
def analyze_file(file_path):
|
||||||
predictions = requests.post(analysis_endpoint, data=open(file_path, "rb"))
|
predictions = requests.post(analysis_endpoint, data=open(file_path, "rb"))
|
||||||
predictions.raise_for_status()
|
predictions.raise_for_status()
|
||||||
predictions = predictions.json()
|
predictions = predictions.json()
|
||||||
return predictions
|
return predictions
|
||||||
|
|
||||||
return analyze_file
|
return analyze_file
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user