MediPlusPlus commited on
Commit
914009b
1 Parent(s): 667c144

m3 removed

Browse files
Files changed (1) hide show
  1. app.py +12 -13
app.py CHANGED
@@ -173,19 +173,18 @@ def m6(que, image):
173
 
174
 
175
  def predict_answer(category, que, image):
176
- return m3(que, image)
177
- # if category == 0:
178
- # return m1(que, image)
179
- # elif category == 1:
180
- # return m2(que, image)
181
- # elif category == 2:
182
- # return m3(que, image)
183
- # elif category == 3:
184
- # return m4(que, image)
185
- # elif category == 4:
186
- # return m5(que, image)
187
- # else:
188
- # return m6(que, image)
189
 
190
 
191
 
 
173
 
174
 
175
  def predict_answer(category, que, image):
176
+ if category == 0:
177
+ return m1(que, image)
178
+ elif category == 1:
179
+ return m2(que, image)
180
+ elif category == 2:
181
+ return m3(que, image)
182
+ elif category == 3:
183
+ return m4(que, image)
184
+ elif category == 4:
185
+ return m5(que, image)
186
+ else:
187
+ return m6(que, image)
 
188
 
189
 
190