updates
Browse files
app.py
CHANGED
@@ -48,13 +48,13 @@ def main():
|
|
48 |
|
49 |
if provider == 'huggingface':
|
50 |
llm_name = st.text_input(
|
51 |
-
"
|
52 |
-
value=
|
53 |
)
|
54 |
|
55 |
# Also give the user the option for different embedding models, too
|
56 |
embed_name = st.text_input(
|
57 |
-
label="
|
58 |
value="BAAI/bge-small-en-v1.5",
|
59 |
)
|
60 |
else:
|
@@ -76,13 +76,13 @@ def main():
|
|
76 |
# Enter Parsing API Key
|
77 |
parse_key = st.text_input(
|
78 |
"Enter your LlamaParse API Key",
|
79 |
-
value=None
|
80 |
)
|
81 |
|
82 |
# Enter LLM API Key
|
83 |
llm_key = st.text_input(
|
84 |
"Enter your LLM API Key",
|
85 |
-
value=
|
86 |
)
|
87 |
|
88 |
# Create LLM
|
|
|
48 |
|
49 |
if provider == 'huggingface':
|
50 |
llm_name = st.text_input(
|
51 |
+
"Enter LLM namespace/model-name",
|
52 |
+
value="microsoft/Phi-3-mini-4k-instruct",
|
53 |
)
|
54 |
|
55 |
# Also give the user the option for different embedding models, too
|
56 |
embed_name = st.text_input(
|
57 |
+
label="Enter embedding namespace/model-name",
|
58 |
value="BAAI/bge-small-en-v1.5",
|
59 |
)
|
60 |
else:
|
|
|
76 |
# Enter Parsing API Key
|
77 |
parse_key = st.text_input(
|
78 |
"Enter your LlamaParse API Key",
|
79 |
+
value="llx-uxxwLr1gZmDibaHTl99ISQJtpLSjjfhgDvnosGxu92RdRlb7", # None
|
80 |
)
|
81 |
|
82 |
# Enter LLM API Key
|
83 |
llm_key = st.text_input(
|
84 |
"Enter your LLM API Key",
|
85 |
+
value=None,
|
86 |
)
|
87 |
|
88 |
# Create LLM
|