Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
| 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("
|
| 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)
|