valencar commited on
Commit
53d9c96
·
verified ·
1 Parent(s): 13ba95b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -30,14 +30,13 @@ pipeline = transformers.pipeline(
30
  device_map="auto",
31
  )
32
 
33
- question = None
34
 
35
  with st.container():
36
  st.write('\n\n')
37
  st.title('LLM-LANAChat\n\n')
38
  question = st.text_input("Chat", placeholder="E ai?")
39
 
40
- if question is not None:
41
  messages = [
42
  # {"role": "system", "content": "You are a chatbot"},
43
  {"role": "user", "content": question}
 
30
  device_map="auto",
31
  )
32
 
 
33
 
34
  with st.container():
35
  st.write('\n\n')
36
  st.title('LLM-LANAChat\n\n')
37
  question = st.text_input("Chat", placeholder="E ai?")
38
 
39
+ if question:
40
  messages = [
41
  # {"role": "system", "content": "You are a chatbot"},
42
  {"role": "user", "content": question}