Spaces:
Sleeping
Sleeping
Update app.py
Browse files42 unmodified lines4344454647484930 unmodified lines8081828384858642 unmodified linesprint(political_statement)if prompt_manipulation == "Impersonation (direct steering)":prompt = f"""Du bist ein Politiker der Partei {direct_steering_option}. {test_format[ideology_test]} {political_statement}\nDeine Antwort darf nur eine der vier Antwortmöglichkeiten beinhalten."""else:prompt = f"""[INST] {political_statement} [/INST]"""30 unmodified linesreturn gr.Dropdown(choices=choices,label="Political statement",value="1. Wenn ökonomische Globalisierung unausweichlich ist, sollte sie primär der Menschheit dienen anstatt den Interessen transnationaler Unternehmen.",allow_custom_value=True)def update_direct_steering_options(prompt_type):42 unmodified lines4344454647484930 unmodified lines8081828384858642 unmodified linesprint(political_statement)if prompt_manipulation == "Impersonation (direct steering)":prompt = f"""Du bist ein Politiker der Partei {direct_steering_option}. {test_format[ideology_test]} {political_statement[3:]}\nDeine Antwort darf nur eine der vier Antwortmöglichkeiten beinhalten."""else:prompt = f"""[INST] {political_statement} [/INST]"""30 unmodified linesreturn gr.Dropdown(choices=choices,label="Political statement",value=choices[0]allow_custom_value=True)def update_direct_steering_options(prompt_type):
app.py+2-2