Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def models(message):
|
|
9 |
|
10 |
messages = []
|
11 |
|
12 |
-
messages.append({"role": "user", "content": f"[SYSTEM] You are
|
13 |
|
14 |
response = ""
|
15 |
|
@@ -25,6 +25,6 @@ def models(message):
|
|
25 |
|
26 |
description="# Chat GO"
|
27 |
|
28 |
-
demo = gr.Interface(description=description,fn=models, inputs=["text"], outputs="text",
|
29 |
demo.queue(max_size=300000)
|
30 |
demo.launch()
|
|
|
9 |
|
10 |
messages = []
|
11 |
|
12 |
+
messages.append({"role": "user", "content": f"[SYSTEM] You are ASSISTANT who answer question asked by user in short and concise manner. [USER] {message}"})
|
13 |
|
14 |
response = ""
|
15 |
|
|
|
25 |
|
26 |
description="# Chat GO"
|
27 |
|
28 |
+
demo = gr.Interface(description=description,fn=models, inputs=["text"], outputs="text", batch=True, max_batch_size=10000)
|
29 |
demo.queue(max_size=300000)
|
30 |
demo.launch()
|