Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def load_chat_content(file) -> str:
|
|
38 |
"""Load chat content from the uploaded zip file and store it in Pinecone."""
|
39 |
|
40 |
if file is None:
|
41 |
-
return "No file uploaded. Please upload a valid ZIP file."
|
42 |
|
43 |
# Ensure the uploaded file is a ZIP file
|
44 |
if not zipfile.is_zipfile(file.name):
|
|
|
38 |
"""Load chat content from the uploaded zip file and store it in Pinecone."""
|
39 |
|
40 |
if file is None:
|
41 |
+
return "No file uploaded. Please upload a valid ZIP file to process."
|
42 |
|
43 |
# Ensure the uploaded file is a ZIP file
|
44 |
if not zipfile.is_zipfile(file.name):
|