wq2012 commited on
Commit
7bbcb7d
1 Parent(s): e86895d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -43,12 +43,6 @@ def generater(message, history):
43
  transferred_completion = utils.transfer_llm_completion(completion, message)
44
  yield transferred_completion
45
 
46
- def vote(data: gr.LikeData):
47
- if data.liked:
48
- return
49
- else:
50
- return
51
-
52
  print("Create chatbot")
53
  chatbot = gr.Chatbot()
54
  print("Created chatbot")
@@ -65,7 +59,6 @@ iface = gr.ChatInterface(
65
  )
66
 
67
  with gr.Blocks() as demo:
68
- chatbot.like(vote, None, None)
69
  iface.render()
70
 
71
 
 
43
  transferred_completion = utils.transfer_llm_completion(completion, message)
44
  yield transferred_completion
45
 
 
 
 
 
 
 
46
  print("Create chatbot")
47
  chatbot = gr.Chatbot()
48
  print("Created chatbot")
 
59
  )
60
 
61
  with gr.Blocks() as demo:
 
62
  iface.render()
63
 
64