explorewithai
commited on
Commit
•
5062cc1
1
Parent(s):
0aaa290
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def generate_response(user_input, history):
|
|
11 |
messages = [
|
12 |
{"role": "user", "content": user_input},
|
13 |
]
|
14 |
-
response = pipe(messages, max_length=
|
15 |
return response[0]['generated_text'][1]["content"]
|
16 |
|
17 |
iface = gr.ChatInterface(
|
|
|
11 |
messages = [
|
12 |
{"role": "user", "content": user_input},
|
13 |
]
|
14 |
+
response = pipe(messages, max_length=1024)
|
15 |
return response[0]['generated_text'][1]["content"]
|
16 |
|
17 |
iface = gr.ChatInterface(
|