Spaces:
Runtime error
Runtime error
Commit ·
4d08b87
1
Parent(s): 22cdb21
Update app.py
Browse files- Correct extract_name function
app.py
CHANGED
|
@@ -84,7 +84,6 @@ def extract_text(file):
|
|
| 84 |
return text
|
| 85 |
|
| 86 |
def extract_name(file):
|
| 87 |
-
documents_list.append(os.path.basename(file.name))
|
| 88 |
return os.path.basename(file.name)
|
| 89 |
|
| 90 |
def ask_ai_upload(doc, question):
|
|
|
|
| 84 |
return text
|
| 85 |
|
| 86 |
def extract_name(file):
|
|
|
|
| 87 |
return os.path.basename(file.name)
|
| 88 |
|
| 89 |
def ask_ai_upload(doc, question):
|