Spaces:
Sleeping
Sleeping
fix
Browse files- .ipynb_checkpoints/app-checkpoint.py +1 -3
- app.py +1 -3
.ipynb_checkpoints/app-checkpoint.py
CHANGED
@@ -4,11 +4,9 @@ from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
|
4 |
from llama_index.legacy.callbacks import CallbackManager
|
5 |
from llama_index.llms.openai_like import OpenAILike
|
6 |
|
7 |
-
st.set_page_config(page_title="llama_index_demo", page_icon=" ")
|
8 |
-
|
9 |
# Create an instance of CallbackManager
|
10 |
callback_manager = CallbackManager()
|
11 |
-
|
12 |
api_base_url = "https://internlm-chat.intern-ai.org.cn/puyu/api/v1/"
|
13 |
model = "internlm2.5-latest"
|
14 |
api_key = st.sidebar.text_input('API Key', value='', type='password')
|
|
|
4 |
from llama_index.legacy.callbacks import CallbackManager
|
5 |
from llama_index.llms.openai_like import OpenAILike
|
6 |
|
|
|
|
|
7 |
# Create an instance of CallbackManager
|
8 |
callback_manager = CallbackManager()
|
9 |
+
st.set_page_config(page_title="llamaindexdemo", page_icon=" ")
|
10 |
api_base_url = "https://internlm-chat.intern-ai.org.cn/puyu/api/v1/"
|
11 |
model = "internlm2.5-latest"
|
12 |
api_key = st.sidebar.text_input('API Key', value='', type='password')
|
app.py
CHANGED
@@ -4,11 +4,9 @@ from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
|
4 |
from llama_index.legacy.callbacks import CallbackManager
|
5 |
from llama_index.llms.openai_like import OpenAILike
|
6 |
|
7 |
-
st.set_page_config(page_title="llama_index_demo", page_icon=" ")
|
8 |
-
|
9 |
# Create an instance of CallbackManager
|
10 |
callback_manager = CallbackManager()
|
11 |
-
|
12 |
api_base_url = "https://internlm-chat.intern-ai.org.cn/puyu/api/v1/"
|
13 |
model = "internlm2.5-latest"
|
14 |
api_key = st.sidebar.text_input('API Key', value='', type='password')
|
|
|
4 |
from llama_index.legacy.callbacks import CallbackManager
|
5 |
from llama_index.llms.openai_like import OpenAILike
|
6 |
|
|
|
|
|
7 |
# Create an instance of CallbackManager
|
8 |
callback_manager = CallbackManager()
|
9 |
+
st.set_page_config(page_title="llamaindexdemo", page_icon=" ")
|
10 |
api_base_url = "https://internlm-chat.intern-ai.org.cn/puyu/api/v1/"
|
11 |
model = "internlm2.5-latest"
|
12 |
api_key = st.sidebar.text_input('API Key', value='', type='password')
|