Sravanth Ganta commited on
Commit ·
d876962
1
Parent(s): 854b5d0
Cancer Detector AppV1
Browse files
app.py
CHANGED
|
@@ -83,7 +83,7 @@ def show_preds_image(path):
|
|
| 83 |
if display_prob:
|
| 84 |
print('Probability of {} : {:.6f}'.format(result, prob))
|
| 85 |
|
| 86 |
-
return
|
| 87 |
|
| 88 |
inputs_image = [
|
| 89 |
gr.components.Image(type="filepath", label="Input Image"),
|
|
|
|
| 83 |
if display_prob:
|
| 84 |
print('Probability of {} : {:.6f}'.format(result, prob))
|
| 85 |
|
| 86 |
+
return result, prob
|
| 87 |
|
| 88 |
inputs_image = [
|
| 89 |
gr.components.Image(type="filepath", label="Input Image"),
|