Spaces:
Runtime error
Runtime error
fix
Browse files- .ipynb_checkpoints/app-checkpoint.py +1 -1
- app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py
CHANGED
|
@@ -6,9 +6,9 @@ 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')
|
| 13 |
|
| 14 |
# api_base_url = "https://api.siliconflow.cn/v1"
|
|
|
|
| 6 |
|
| 7 |
# Create an instance of CallbackManager
|
| 8 |
callback_manager = CallbackManager()
|
|
|
|
| 9 |
api_base_url = "https://internlm-chat.intern-ai.org.cn/puyu/api/v1/"
|
| 10 |
model = "internlm2.5-latest"
|
| 11 |
+
st.set_page_config(page_title="llamaindexdemo", page_icon=" ")
|
| 12 |
api_key = st.sidebar.text_input('API Key', value='', type='password')
|
| 13 |
|
| 14 |
# api_base_url = "https://api.siliconflow.cn/v1"
|
app.py
CHANGED
|
@@ -6,9 +6,9 @@ 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')
|
| 13 |
|
| 14 |
# api_base_url = "https://api.siliconflow.cn/v1"
|
|
|
|
| 6 |
|
| 7 |
# Create an instance of CallbackManager
|
| 8 |
callback_manager = CallbackManager()
|
|
|
|
| 9 |
api_base_url = "https://internlm-chat.intern-ai.org.cn/puyu/api/v1/"
|
| 10 |
model = "internlm2.5-latest"
|
| 11 |
+
st.set_page_config(page_title="llamaindexdemo", page_icon=" ")
|
| 12 |
api_key = st.sidebar.text_input('API Key', value='', type='password')
|
| 13 |
|
| 14 |
# api_base_url = "https://api.siliconflow.cn/v1"
|