zliang commited on
Commit
eda4d8c
·
verified ·
1 Parent(s): f840bdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()