Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -226,9 +226,9 @@ class Predictor:
|
|
226 |
sorted_general_strings = (
|
227 |
", ".join(sorted_general_strings).replace("(", "\(").replace(")", "\)")
|
228 |
)
|
229 |
-
sorted_general_strings = sorted_general_strings.map(
|
230 |
-
lambda x: x.replace("_", " ") if x not in kaomojis else x
|
231 |
-
)
|
232 |
|
233 |
return sorted_general_strings, sorted_booru_strings, rating, character_res, general_res
|
234 |
|
|
|
226 |
sorted_general_strings = (
|
227 |
", ".join(sorted_general_strings).replace("(", "\(").replace(")", "\)")
|
228 |
)
|
229 |
+
# sorted_general_strings = sorted_general_strings.map(
|
230 |
+
# lambda x: x.replace("_", " ") if x not in kaomojis else x
|
231 |
+
# )
|
232 |
|
233 |
return sorted_general_strings, sorted_booru_strings, rating, character_res, general_res
|
234 |
|