Spaces:
Runtime error
Runtime error
import re | |
import random | |
from langchain.prompts import PromptTemplate | |
from modules.gpt_modules import gpt_call | |
from .normal_debate import nomal_debator | |
############################################# | |
# Debate bot setting | |
############################################# | |
def debate_bot(prompt, history="", debate_subject="", bot_role="", history_num=0): | |
if bot_role == "ํ ๋ก ": | |
bot_response = nomal_debator(prompt, history, debate_subject, bot_role, history_num) | |
elif bot_role == "์ฃผ์ ์ ์": | |
pass | |
elif bot_role == "POI ์ฐ์ต": | |
pass | |
elif bot_role == "์ญํ ์ถ์ฒ": | |
pass | |
elif bot_role == "์ฃผ์ฅ ๋นํ": | |
pass | |
else: | |
print("bot_role error") |