Spaces:
Runtime error
Runtime error
Commit
·
28ba9e4
1
Parent(s):
e799a24
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def extract_info(pdf_file):
|
|
57 |
|
58 |
#Remove directory with initial text file
|
59 |
#shutil.rmtree(directory_name)
|
60 |
-
return ("Success! You can now click on the 'Knowledge bot' tab to interact with your document"
|
61 |
|
62 |
|
63 |
def chat(chat_history, user_input):
|
|
|
57 |
|
58 |
#Remove directory with initial text file
|
59 |
#shutil.rmtree(directory_name)
|
60 |
+
return ("Success! You can now click on the 'Knowledge bot' tab to interact with your document", extracted_text)
|
61 |
|
62 |
|
63 |
def chat(chat_history, user_input):
|