Spaces:
Sleeping
Sleeping
flyfive0315
commited on
Commit
β’
f105116
1
Parent(s):
ab3eebe
Update app.py
Browse files
app.py
CHANGED
@@ -14,14 +14,9 @@ api_key = os.getenv('INTERN_KEY')
|
|
14 |
|
15 |
llm =OpenAILike(model=model, api_base=api_base_url, api_key=api_key, is_chat_model=True,callback_manager=callback_manager)
|
16 |
|
17 |
-
|
18 |
-
|
19 |
st.set_page_config(page_title="llama_index_demo", page_icon="π¦π")
|
20 |
st.title("llama_index_demo")
|
21 |
|
22 |
-
#os.system("git lfs install")
|
23 |
-
#os.system("git clone https://www.modelscope.cn/Ceceliachenen/paraphrase-multilingual-MiniLM-L12-v2.git")
|
24 |
-
|
25 |
# εε§ε樑ε
|
26 |
@st.cache_resource
|
27 |
def init_models():
|
|
|
14 |
|
15 |
llm =OpenAILike(model=model, api_base=api_base_url, api_key=api_key, is_chat_model=True,callback_manager=callback_manager)
|
16 |
|
|
|
|
|
17 |
st.set_page_config(page_title="llama_index_demo", page_icon="π¦π")
|
18 |
st.title("llama_index_demo")
|
19 |
|
|
|
|
|
|
|
20 |
# εε§ε樑ε
|
21 |
@st.cache_resource
|
22 |
def init_models():
|