rohan112 commited on
Commit
51a87b8
·
verified ·
1 Parent(s): 2504c20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -31,9 +31,8 @@ model = ChatTogether(
31
  temperature=0.0,
32
  max_tokens=500,)
33
 
34
- # template = """<s>[INST] answer from context only as if person is responding (use i instead of you in response). and always answer in short answer.
35
- # answer for asked question only, if he greets greet back.
36
- template = """
37
  {context}
38
  Question: {question} [/INST]
39
  """
@@ -47,7 +46,7 @@ chain = (
47
  )
48
 
49
 
50
- st.title("Simple chat")
51
 
52
  # Initialize chat history
53
  if "messages" not in st.session_state:
 
31
  temperature=0.0,
32
  max_tokens=500,)
33
 
34
+ template = """<s>[INST] answer from context only as if person is responding (use i instead of you in response). and always answer in short answer.
35
+ answer for asked question only, if he greets greet back.
 
36
  {context}
37
  Question: {question} [/INST]
38
  """
 
46
  )
47
 
48
 
49
+ st.title("Chat with me chat")
50
 
51
  # Initialize chat history
52
  if "messages" not in st.session_state: