Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,13 +16,13 @@ user_input = st.text_input("Ask a strange question:", key="input")
|
|
| 16 |
|
| 17 |
# Submit button
|
| 18 |
if st.button('Generate Response'):
|
| 19 |
-
messages = [
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
]
|
| 26 |
outputs = pipe(
|
| 27 |
messages,
|
| 28 |
max_new_tokens=128,
|
|
|
|
| 16 |
|
| 17 |
# Submit button
|
| 18 |
if st.button('Generate Response'):
|
| 19 |
+
# messages = [
|
| 20 |
+
# {
|
| 21 |
+
# "role": "system",
|
| 22 |
+
# "content": "",
|
| 23 |
+
# },
|
| 24 |
+
# {"role": "user", "content": user_input},
|
| 25 |
+
# ]
|
| 26 |
outputs = pipe(
|
| 27 |
messages,
|
| 28 |
max_new_tokens=128,
|