Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,8 @@ st.title("Bildanalyse mit Gemini")
|
|
| 20 |
uploaded_file = st.file_uploader("Bild hochladen", type=["jpg", "png", "jpeg"])
|
| 21 |
|
| 22 |
if uploaded_file is not None:
|
| 23 |
-
|
|
|
|
| 24 |
|
| 25 |
if st.button("Analysieren"):
|
| 26 |
with st.spinner("Analysiere Bild..."):
|
|
|
|
| 20 |
uploaded_file = st.file_uploader("Bild hochladen", type=["jpg", "png", "jpeg"])
|
| 21 |
|
| 22 |
if uploaded_file is not None:
|
| 23 |
+
image = Image.open(uploaded_file)
|
| 24 |
+
st.image(image, caption="Hochgeladenes Bild", use_column_width=True)
|
| 25 |
|
| 26 |
if st.button("Analysieren"):
|
| 27 |
with st.spinner("Analysiere Bild..."):
|