vahidrezanezhad commited on
Commit
48a54dd
1 Parent(s): 4c8156b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -134,9 +134,9 @@ def do_prediction(model_name, img):
134
  print(prediction.shape)
135
 
136
  '''
137
- prediction_true = prediction_true * -1
138
- prediction_true = prediction_true + 1
139
- return "No numerical output", prediction_true * 255
140
 
141
  # catch-all (we should not reach this)
142
  case _:
 
134
  print(prediction.shape)
135
 
136
  '''
137
+ #prediction_true = prediction_true * -1
138
+ #prediction_true = prediction_true + 1
139
+ return "No numerical output", prediction_true[:,:,0]# * 255
140
 
141
  # catch-all (we should not reach this)
142
  case _: