Jekyll2000 commited on
Commit
28b7667
·
verified ·
1 Parent(s): 943441f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,7 +28,7 @@ def Bot(Questions):
28
  input_variables=['text', 'Questions'],
29
  template=chat_template
30
  )
31
- llama3 = Together(model="meta-llama/Llama-3-70b-chat-hf", max_tokens=20)
32
  Generated_chat = LLMChain(llm=llama3, prompt=prompt)
33
 
34
  try:
@@ -66,7 +66,7 @@ def ChatBot(Questions):
66
 
67
  # Streamlit UI
68
  st.title("AI Engineer Test")
69
- Questions = st.text_input("Ask a question:")
70
  if st.button("Submit"):
71
  answer = ChatBot(Questions)
72
  st.write(answer)
 
28
  input_variables=['text', 'Questions'],
29
  template=chat_template
30
  )
31
+ llama3 = Together(model="meta-llama/Llama-3-70b-chat-hf", max_tokens=15)
32
  Generated_chat = LLMChain(llm=llama3, prompt=prompt)
33
 
34
  try:
 
66
 
67
  # Streamlit UI
68
  st.title("AI Engineer Test")
69
+ Questions = st.text_input("Hi! How can I help you?:")
70
  if st.button("Submit"):
71
  answer = ChatBot(Questions)
72
  st.write(answer)