Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def handle_userinput(user_question):
|
|
81 |
"{{MSG}}", message.content), unsafe_allow_html=True)
|
82 |
|
83 |
def get_text_file(docs):
|
84 |
-
text =
|
85 |
return text
|
86 |
|
87 |
def get_csv_file(docs):
|
|
|
81 |
"{{MSG}}", message.content), unsafe_allow_html=True)
|
82 |
|
83 |
def get_text_file(docs):
|
84 |
+
text = docs.read().decode("utf-8")
|
85 |
return text
|
86 |
|
87 |
def get_csv_file(docs):
|