Spaces:
Build error
Build error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +5 -0
src/streamlit_app.py
CHANGED
|
@@ -13,6 +13,11 @@ import base64
|
|
| 13 |
from PIL import Image as PILImage
|
| 14 |
import io
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
# Set page configuration
|
| 17 |
st.set_page_config(
|
| 18 |
page_title="ChargeNode Rapport Generator",
|
|
|
|
| 13 |
from PIL import Image as PILImage
|
| 14 |
import io
|
| 15 |
|
| 16 |
+
# Öka maximal filstorlek för uppladdningar
|
| 17 |
+
import streamlit as st
|
| 18 |
+
|
| 19 |
+
st.set_option('server.maxUploadSize', 200) # Storlek i MB
|
| 20 |
+
|
| 21 |
# Set page configuration
|
| 22 |
st.set_page_config(
|
| 23 |
page_title="ChargeNode Rapport Generator",
|