bohmian commited on
Commit
3fee323
1 Parent(s): e736d49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -182,8 +182,8 @@ def get_llm():
182
  endpoint_url=st.session_state['model'],
183
  huggingfacehub_api_token=os.environ['HUGGINGFACEHUB_API_TOKEN'],
184
  task="text-generation",
185
- "temperature": st.session_state['temperature'],
186
- "max_new_tokens": st.session_state['max_new_tokens']
187
  )
188
  return llm
189
 
 
182
  endpoint_url=st.session_state['model'],
183
  huggingfacehub_api_token=os.environ['HUGGINGFACEHUB_API_TOKEN'],
184
  task="text-generation",
185
+ temperature = st.session_state['temperature'],
186
+ max_new_tokens = st.session_state['max_new_tokens']
187
  )
188
  return llm
189