Update app.py
Browse files
app.py
CHANGED
@@ -314,7 +314,7 @@ if uploaded_file and uploaded_file.size > MAX_FILE_SIZE:
|
|
314 |
if uploaded_file:
|
315 |
file_path = tempfile.NamedTemporaryFile(delete=False).name
|
316 |
with open(file_path, "wb") as f:
|
317 |
-
f.write(uploaded_file.getbuffer()
|
318 |
|
319 |
# Chat interface
|
320 |
chat_container = st.container()
|
|
|
314 |
if uploaded_file:
|
315 |
file_path = tempfile.NamedTemporaryFile(delete=False).name
|
316 |
with open(file_path, "wb") as f:
|
317 |
+
f.write(uploaded_file.getbuffer())
|
318 |
|
319 |
# Chat interface
|
320 |
chat_container = st.container()
|