Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,8 +111,6 @@ with col1:
|
|
| 111 |
|
| 112 |
# Ergebnisse anzeigen
|
| 113 |
with col2:
|
| 114 |
-
st.write("## Beschreibung:")
|
| 115 |
-
st.write(desc_response.text)
|
| 116 |
|
| 117 |
st.write("## Objekterkennung:")
|
| 118 |
st.write(result_text)
|
|
@@ -125,6 +123,8 @@ with col1:
|
|
| 125 |
)
|
| 126 |
else:
|
| 127 |
st.image(annotated_image, caption="Keine Objekte erkannt", width=400)
|
| 128 |
-
|
|
|
|
|
|
|
| 129 |
except Exception as e:
|
| 130 |
st.error(f"Fehler: {str(e)}")
|
|
|
|
| 111 |
|
| 112 |
# Ergebnisse anzeigen
|
| 113 |
with col2:
|
|
|
|
|
|
|
| 114 |
|
| 115 |
st.write("## Objekterkennung:")
|
| 116 |
st.write(result_text)
|
|
|
|
| 123 |
)
|
| 124 |
else:
|
| 125 |
st.image(annotated_image, caption="Keine Objekte erkannt", width=400)
|
| 126 |
+
|
| 127 |
+
st.write("## Beschreibung:")
|
| 128 |
+
st.write(desc_response.text)
|
| 129 |
except Exception as e:
|
| 130 |
st.error(f"Fehler: {str(e)}")
|