Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,12 +81,13 @@ with col1:
|
|
| 81 |
|
| 82 |
# Ergebnisse anzeigen
|
| 83 |
with col2:
|
| 84 |
-
st.write("## Beschreibung:")
|
| 85 |
-
st.write(desc_response.text)
|
| 86 |
-
|
| 87 |
st.write("## Objekterkennung:")
|
| 88 |
st.write(result_text)
|
| 89 |
st.image(annotated_image, caption="Erkannte Objekte", use_column_width=True)
|
| 90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
except Exception as e:
|
| 92 |
st.error(f"Fehler: {str(e)}")
|
|
|
|
| 81 |
|
| 82 |
# Ergebnisse anzeigen
|
| 83 |
with col2:
|
|
|
|
|
|
|
|
|
|
| 84 |
st.write("## Objekterkennung:")
|
| 85 |
st.write(result_text)
|
| 86 |
st.image(annotated_image, caption="Erkannte Objekte", use_column_width=True)
|
| 87 |
|
| 88 |
+
st.write("## Beschreibung:")
|
| 89 |
+
st.write(desc_response.text)
|
| 90 |
+
|
| 91 |
+
|
| 92 |
except Exception as e:
|
| 93 |
st.error(f"Fehler: {str(e)}")
|