Spaces:
Sleeping
Sleeping
arslan-ahmed
commited on
Commit
·
8110396
1
Parent(s):
8022f91
Update app.py
Browse files
app.py
CHANGED
@@ -164,7 +164,7 @@ def updateQaChain(temp, k, modelNameDD, stdlQs, api_key_st, vsDict_st):
|
|
164 |
llm = getWxLlm(temp, modelNameDD, api_key_st)
|
165 |
elif api_key_st['service']=='bam':
|
166 |
if not 'bam' in modelNameDD:
|
167 |
-
modelNameDD = '
|
168 |
llm = getBamLlm(temp, modelNameDD, api_key_st)
|
169 |
else:
|
170 |
raise Exception('Error: Invalid or None Credentials')
|
|
|
164 |
llm = getWxLlm(temp, modelNameDD, api_key_st)
|
165 |
elif api_key_st['service']=='bam':
|
166 |
if not 'bam' in modelNameDD:
|
167 |
+
modelNameDD = 'meta-llama/llama-2-70b-chat (bam)' # default model for bam
|
168 |
llm = getBamLlm(temp, modelNameDD, api_key_st)
|
169 |
else:
|
170 |
raise Exception('Error: Invalid or None Credentials')
|