aiface commited on
Commit
8b59e1e
1 Parent(s): 59b5c95

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -0
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()