Spaces:
Build error
Build error
Commit
·
a1e9365
1
Parent(s):
96e35eb
Update gradio_app.py
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
@@ -49,7 +49,7 @@ def predict(sentence):
|
|
49 |
predictions = evaluate([sentence])
|
50 |
elapsed_time = time.time() - start_time
|
51 |
output = predictions
|
52 |
-
print(f"Sentence: {sentence} \nPrediction: {predictions
|
53 |
log_record([sentence, output, timestamp, str(elapsed_time)])
|
54 |
|
55 |
return output
|
|
|
49 |
predictions = evaluate([sentence])
|
50 |
elapsed_time = time.time() - start_time
|
51 |
output = predictions
|
52 |
+
print(f"Sentence: {sentence} \nPrediction: {predictions}")
|
53 |
log_record([sentence, output, timestamp, str(elapsed_time)])
|
54 |
|
55 |
return output
|