Spaces:
Sleeping
Sleeping
amazinghaha
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -246,7 +246,7 @@ def get_lc():
|
|
246 |
a = 5
|
247 |
return lc_all
|
248 |
|
249 |
-
def
|
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 |
|