Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,9 +18,10 @@ def full_auto_adjective_replacement(input_text):
|
|
| 18 |
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?"
|
| 19 |
|
| 20 |
processed_promt = insideRespond(input_text, system_message)
|
| 21 |
-
print
|
| 22 |
|
| 23 |
-
|
|
|
|
| 24 |
|
| 25 |
return processed_promt
|
| 26 |
|
|
|
|
| 18 |
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?"
|
| 19 |
|
| 20 |
processed_promt = insideRespond(input_text, system_message)
|
| 21 |
+
print(processed_promt)
|
| 22 |
|
| 23 |
+
adjectives = get_adjectives(input_text)
|
| 24 |
+
print(adjectives)
|
| 25 |
|
| 26 |
return processed_promt
|
| 27 |
|