Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def preprocess_user_input(input_text):
|
|
| 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)
|
| 18 |
|
| 19 |
return finalPrompt
|
|
|
|
| 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)
|
| 18 |
|
| 19 |
return finalPrompt
|