Spaces:
Sleeping
Sleeping
emar
commited on
Commit
•
b7463ad
1
Parent(s):
b69cdc9
fixed omitted import
Browse files- app.py +1 -0
- requirements.txt +2 -0
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import spaces
|
2 |
import gradio as gr
|
3 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
|
|
4 |
from llama_index.core.postprocessor import SentenceTransformerRerank
|
5 |
from llama_index.core import (
|
6 |
StorageContext,
|
|
|
1 |
import spaces
|
2 |
import gradio as gr
|
3 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
4 |
+
from llama_index.llms.huggingface import HuggingFaceLLM
|
5 |
from llama_index.core.postprocessor import SentenceTransformerRerank
|
6 |
from llama_index.core import (
|
7 |
StorageContext,
|
requirements.txt
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
torch
|
3 |
transformers
|
4 |
llama_index
|
|
|
|
|
5 |
llama-index-embeddings-huggingface
|
6 |
llama_index-llms-huggingface
|
7 |
gradio
|
|
|
2 |
torch
|
3 |
transformers
|
4 |
llama_index
|
5 |
+
llama-index-embeddings-openai
|
6 |
+
|
7 |
llama-index-embeddings-huggingface
|
8 |
llama_index-llms-huggingface
|
9 |
gradio
|