Update app.py
Browse files
app.py
CHANGED
|
@@ -27,6 +27,9 @@ def predict(message, system_prompt="", temperature=0.9, max_new_tokens=4096):
|
|
| 27 |
st.title(TITLE)
|
| 28 |
st.write(DESCRIPTION)
|
| 29 |
|
| 30 |
-
prompt = st.chat_input("
|
| 31 |
if prompt:
|
| 32 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
st.title(TITLE)
|
| 28 |
st.write(DESCRIPTION)
|
| 29 |
|
| 30 |
+
prompt = st.chat_input("Ask llama 2...")
|
| 31 |
if prompt:
|
| 32 |
+
with st.chat_message("user"):
|
| 33 |
+
st.write(prompt)
|
| 34 |
+
with st.chat_message("llama",'🦙'):
|
| 35 |
+
st.write(predict(prompt, '',0.7,4096))
|