Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ user_input = st.text_input("You:", placeholder="Type your message here...")
|
|
| 16 |
if user_input:
|
| 17 |
payload = {
|
| 18 |
"inputs": user_input,
|
| 19 |
-
"parameters": {"
|
| 20 |
}
|
| 21 |
|
| 22 |
try:
|
|
|
|
| 16 |
if user_input:
|
| 17 |
payload = {
|
| 18 |
"inputs": user_input,
|
| 19 |
+
"parameters": {"max_length": 200, "do_sample": True}
|
| 20 |
}
|
| 21 |
|
| 22 |
try:
|