KingNish commited on
Commit
0b734f7
1 Parent(s): fa6182f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ def models(message):
9
 
10
  messages = []
11
 
12
- messages.append({"role": "user", "content": f"[SYSTEM] You are REAL TIME QnA AI who answer question asked by uer in short and concise [USER] {message}"})
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", live=True, batch=True, max_batch_size=10000)
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()