douglarek commited on
Commit
19fd497
1 Parent(s): 5042ea4

chore: name fix

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ messages = [
13
  ]
14
 
15
 
16
- def random_response(message, history):
17
  msg = messages.copy()
18
  for m in history:
19
  q, a = m
@@ -28,6 +28,6 @@ def random_response(message, history):
28
  return output[response_start + len('<|assistant|>'):]
29
 
30
 
31
- demo = gr.ChatInterface(random_response)
32
 
33
  demo.launch()
 
13
  ]
14
 
15
 
16
+ def chat_response(message, history):
17
  msg = messages.copy()
18
  for m in history:
19
  q, a = m
 
28
  return output[response_start + len('<|assistant|>'):]
29
 
30
 
31
+ demo = gr.ChatInterface(chat_response)
32
 
33
  demo.launch()