Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
from dotenv import load_dotenv
|
2 |
import gradio as gr
|
|
|
3 |
from llama_index.core import StorageContext, load_index_from_storage, VectorStoreIndex, SimpleDirectoryReader, ChatPromptTemplate, Settings
|
4 |
from llama_index.llms.huggingface import HuggingFaceInferenceAPI
|
5 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
|
|
1 |
from dotenv import load_dotenv
|
2 |
import gradio as gr
|
3 |
+
import os
|
4 |
from llama_index.core import StorageContext, load_index_from_storage, VectorStoreIndex, SimpleDirectoryReader, ChatPromptTemplate, Settings
|
5 |
from llama_index.llms.huggingface import HuggingFaceInferenceAPI
|
6 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|