Spaces:
Running
Running
Update app_pages/image_analyser.py
Browse files
app_pages/image_analyser.py
CHANGED
|
@@ -125,7 +125,7 @@ def render_image_analyser_page(uid: str) -> None:
|
|
| 125 |
data=res.encode("utf-8"),
|
| 126 |
file_name=f"{file_name}_analysis.json",
|
| 127 |
mime="application/json",
|
| 128 |
-
|
| 129 |
)
|
| 130 |
|
| 131 |
with col2:
|
|
@@ -133,7 +133,7 @@ def render_image_analyser_page(uid: str) -> None:
|
|
| 133 |
data=res.encode("utf-8"),
|
| 134 |
file_name=f"{file_name}_analysis.json",
|
| 135 |
mime="application/json",
|
| 136 |
-
|
| 137 |
try:
|
| 138 |
doc_id = insert_image_analysis(
|
| 139 |
image_name=file_name,
|
|
|
|
| 125 |
data=res.encode("utf-8"),
|
| 126 |
file_name=f"{file_name}_analysis.json",
|
| 127 |
mime="application/json",
|
| 128 |
+
width='stretch',
|
| 129 |
)
|
| 130 |
|
| 131 |
with col2:
|
|
|
|
| 133 |
data=res.encode("utf-8"),
|
| 134 |
file_name=f"{file_name}_analysis.json",
|
| 135 |
mime="application/json",
|
| 136 |
+
width='stretch'):
|
| 137 |
try:
|
| 138 |
doc_id = insert_image_analysis(
|
| 139 |
image_name=file_name,
|