AlbertoFH98 commited on
Commit
7c14d53
·
1 Parent(s): f1de8e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -189,7 +189,7 @@ RESPUESTA: """
189
  st.markdown(prompt)
190
  st.session_state.messages.append({"role": "user", "content": prompt})
191
  with st.chat_message("assistant"):
192
- if not genre.contains('GPT'):
193
  llm_response, cleaned_prompt = qa_chain(prompt)
194
  llm_response = utils.process_llm_response(llm_response, nlp)
195
  st.markdown(llm_response)
 
189
  st.markdown(prompt)
190
  st.session_state.messages.append({"role": "user", "content": prompt})
191
  with st.chat_message("assistant"):
192
+ if 'GPT' not in genre:
193
  llm_response, cleaned_prompt = qa_chain(prompt)
194
  llm_response = utils.process_llm_response(llm_response, nlp)
195
  st.markdown(llm_response)