Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -154,6 +154,8 @@ def evaluate(model, dset_loader, criterion, is_print=False):
|
|
154 |
# 'prediction': prediction,
|
155 |
# 'confidence': confidence
|
156 |
# })
|
|
|
|
|
157 |
|
158 |
if is_print:
|
159 |
print()
|
|
|
154 |
# 'prediction': prediction,
|
155 |
# 'confidence': confidence
|
156 |
# })
|
157 |
+
with open("/home/user/app/result/ho.txt", 'w') as f:
|
158 |
+
f.writelines(prediction)
|
159 |
|
160 |
if is_print:
|
161 |
print()
|