Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,6 +92,7 @@ def server(input, output, session: Session):
|
|
| 92 |
return ui.div("No results yet. Upload images and click 'Analyze'.",
|
| 93 |
class_="text-muted")
|
| 94 |
|
|
|
|
| 95 |
return ui.div(
|
| 96 |
[ui.div(
|
| 97 |
ui.row(
|
|
@@ -100,7 +101,6 @@ def server(input, output, session: Session):
|
|
| 100 |
),
|
| 101 |
ui.h5(r['filename'], style="margin-top: 15px;"),
|
| 102 |
ui.div(
|
| 103 |
-
print(r)
|
| 104 |
ui.span(f"Viable = {r.get('viable', '?')}"),
|
| 105 |
ui.span(f"Nonviable = {r.get('nonviable', '?')}", style="margin: 0 15px;"),
|
| 106 |
ui.span(f"Empty = {r.get('empty', '?')}"),
|
|
|
|
| 92 |
return ui.div("No results yet. Upload images and click 'Analyze'.",
|
| 93 |
class_="text-muted")
|
| 94 |
|
| 95 |
+
print(results)
|
| 96 |
return ui.div(
|
| 97 |
[ui.div(
|
| 98 |
ui.row(
|
|
|
|
| 101 |
),
|
| 102 |
ui.h5(r['filename'], style="margin-top: 15px;"),
|
| 103 |
ui.div(
|
|
|
|
| 104 |
ui.span(f"Viable = {r.get('viable', '?')}"),
|
| 105 |
ui.span(f"Nonviable = {r.get('nonviable', '?')}", style="margin: 0 15px;"),
|
| 106 |
ui.span(f"Empty = {r.get('empty', '?')}"),
|