Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from transformers import AutoModel, AutoTokenizer
|
|
7 |
from diffusers import StableDiffusionXLPipeline, UNet2DConditionModel, EulerDiscreteScheduler
|
8 |
from parler_tts import ParlerTTSForConditionalGeneration
|
9 |
import soundfile as sf
|
10 |
-
from llama_index import
|
11 |
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
|
12 |
from llama_index.langchain_helpers.text_splitter import RecursiveCharacterTextSplitter
|
13 |
from langchain import OpenAI
|
|
|
7 |
from diffusers import StableDiffusionXLPipeline, UNet2DConditionModel, EulerDiscreteScheduler
|
8 |
from parler_tts import ParlerTTSForConditionalGeneration
|
9 |
import soundfile as sf
|
10 |
+
from llama_index import LLMPredictor, ServiceContext
|
11 |
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
|
12 |
from llama_index.langchain_helpers.text_splitter import RecursiveCharacterTextSplitter
|
13 |
from langchain import OpenAI
|