Spaces:
Runtime error
Runtime error
captain-awesome
commited on
Commit
•
4208fde
1
Parent(s):
b661972
Update app.py
Browse files
app.py
CHANGED
@@ -47,6 +47,7 @@ import streamlit as st
|
|
47 |
from langchain.document_loaders.base import BaseLoader
|
48 |
from langchain.schema import Document
|
49 |
import gradio as gr
|
|
|
50 |
|
51 |
FILE_LOADER_MAPPING = {
|
52 |
".csv": (CSVLoader, {"encoding": "utf-8"}),
|
|
|
47 |
from langchain.document_loaders.base import BaseLoader
|
48 |
from langchain.schema import Document
|
49 |
import gradio as gr
|
50 |
+
import tempfile
|
51 |
|
52 |
FILE_LOADER_MAPPING = {
|
53 |
".csv": (CSVLoader, {"encoding": "utf-8"}),
|