Spaces:
Runtime error
Runtime error
codingchild
commited on
Commit
•
5a2b5d2
1
Parent(s):
95bd3fa
change judgement
Browse files- bots/debate_bot.py +1 -1
bots/debate_bot.py
CHANGED
@@ -378,7 +378,7 @@ def debate_bot(prompt, history="", debate_subject="", bot_role="", history_num=0
|
|
378 |
pass
|
379 |
|
380 |
# Judgement.
|
381 |
-
if history_num
|
382 |
judgement_word_list = "\n".join([
|
383 |
"!!Instruction!",
|
384 |
"You are now the judge of this debate. Evaluate the debate according to the rules below.",
|
|
|
378 |
pass
|
379 |
|
380 |
# Judgement.
|
381 |
+
if history_num >= 2:
|
382 |
judgement_word_list = "\n".join([
|
383 |
"!!Instruction!",
|
384 |
"You are now the judge of this debate. Evaluate the debate according to the rules below.",
|