Spaces:
Runtime error
Runtime error
cccmatthew
commited on
Commit
•
a25709c
1
Parent(s):
7477bfe
Change inference.py
Browse files- inference.py +0 -2
inference.py
CHANGED
@@ -52,8 +52,6 @@ response, response_time = send_request_with_retry(API_URL, headers, {"inputs": s
|
|
52 |
if response is not None:
|
53 |
results = response.json()
|
54 |
print(results)
|
55 |
-
st.write('Results:')
|
56 |
-
log_to_csv(sentence, results, response_time)
|
57 |
|
58 |
else:
|
59 |
st.error("Unable to classify the sentence due to server issues.")
|
|
|
52 |
if response is not None:
|
53 |
results = response.json()
|
54 |
print(results)
|
|
|
|
|
55 |
|
56 |
else:
|
57 |
st.error("Unable to classify the sentence due to server issues.")
|