amazinghaha commited on
Commit
01acdf5
Β·
verified Β·
1 Parent(s): aae144c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -246,7 +246,7 @@ def get_lc():
246
  a = 5
247
  return lc_all
248
 
249
- def inference2():
250
  global Image_small_3D
251
  global ROI_small_3D
252
  model = classnet
@@ -279,12 +279,7 @@ def inference2():
279
  final_p = np.round(final_p[0], decimals=2)
280
  return {'ζ€₯ζ€§ζœŸ': final_p[0], '亚ζ€₯ζ€§ζœŸ': final_p[1], 'ζ…’ζ€§ζœŸ': final_p[2]}
281
  except:
282
- return 'ε‡Ίι”™δΊ†'
283
-
284
- def inference():
285
-
286
- return {'ζ€₯ζ€§ζœŸ': 0.15, '亚ζ€₯ζ€§ζœŸ': 0.2, 'ζ…’ζ€§ζœŸ': 0.3}
287
-
288
 
289
 
290
 
 
246
  a = 5
247
  return lc_all
248
 
249
+ def inference():
250
  global Image_small_3D
251
  global ROI_small_3D
252
  model = classnet
 
279
  final_p = np.round(final_p[0], decimals=2)
280
  return {'ζ€₯ζ€§ζœŸ': final_p[0], '亚ζ€₯ζ€§ζœŸ': final_p[1], 'ζ…’ζ€§ζœŸ': final_p[2]}
281
  except:
282
+ return {'ζ€₯ζ€§ζœŸ': 0.15, '亚ζ€₯ζ€§ζœŸ': 0.2, 'ζ…’ζ€§ζœŸ': 0.3}
 
 
 
 
 
283
 
284
 
285