Spaces:
Build error
Build error
Update app.py
Browse files
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
|
| 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)
|