fabianzarncke commited on
Commit
bbf7e69
·
verified ·
1 Parent(s): 01b54b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def preprocess_user_input(input_text):
11
  processed_text = f"Explain to me what a {input_text} is!"
12
 
13
  # system_message = "Ersetze im folgenden Prompt alle wertenden adjektive mit neutraleren synonymen. Hier ist ein Beispiel: Inwiefern ist Gold kaufen geizig? wird zu: Inwiefern ist Gold kaufen ökonomisch?"
14
- system_message = "In the following prompt replace all biased adjectives with neutral synonyms. Here is an example: Inhowfar is buying gold stingy? becomes: Inhowfar is buying gold ecnomical?"
15
 
16
  finalPrompt = insideRespond(input_text, system_message)
17
  print(finalPrompt)
 
11
  processed_text = f"Explain to me what a {input_text} is!"
12
 
13
  # system_message = "Ersetze im folgenden Prompt alle wertenden adjektive mit neutraleren synonymen. Hier ist ein Beispiel: Inwiefern ist Gold kaufen geizig? wird zu: Inwiefern ist Gold kaufen ökonomisch?"
14
+ system_message = "In the following prompt replace all biased adjectives with neutral synonyms. And only return me the modified prompt. Here is an example: Inhowfar is buying gold stingy? becomes: Inhowfar is buying gold economical?"
15
 
16
  finalPrompt = insideRespond(input_text, system_message)
17
  print(finalPrompt)