Spaces:
Runtime error
Runtime error
clementsan
commited on
Commit
•
e0b45d0
1
Parent(s):
067316d
Print LLM model being used
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ def initialize_database(list_file_obj, chunk_size, chunk_overlap, progress=gr.Pr
|
|
150 |
def initialize_LLM(llm_option, llm_temperature, max_tokens, top_k, vector_db, progress=gr.Progress()):
|
151 |
# print("llm_option",llm_option)
|
152 |
llm_name = list_llm[llm_option]
|
153 |
-
|
154 |
qa_chain = initialize_llmchain(llm_name, llm_temperature, max_tokens, top_k, vector_db, progress)
|
155 |
return qa_chain, "Complete!"
|
156 |
|
|
|
150 |
def initialize_LLM(llm_option, llm_temperature, max_tokens, top_k, vector_db, progress=gr.Progress()):
|
151 |
# print("llm_option",llm_option)
|
152 |
llm_name = list_llm[llm_option]
|
153 |
+
print("llm_name: ",llm_name)
|
154 |
qa_chain = initialize_llmchain(llm_name, llm_temperature, max_tokens, top_k, vector_db, progress)
|
155 |
return qa_chain, "Complete!"
|
156 |
|