Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -156,7 +156,7 @@ class CombinedProcessor:
|
|
| 156 |
editorial_text = "Bibliography\n" + user_message
|
| 157 |
|
| 158 |
#Our fix for the lack of newline in deberta
|
| 159 |
-
editorial_text = re.sub("\n", " ¶ ",
|
| 160 |
|
| 161 |
print(editorial_text)
|
| 162 |
num_tokens = len(tokenizer.tokenize(editorial_text))
|
|
|
|
| 156 |
editorial_text = "Bibliography\n" + user_message
|
| 157 |
|
| 158 |
#Our fix for the lack of newline in deberta
|
| 159 |
+
editorial_text = re.sub("\n", " ¶ ", editorial_text)
|
| 160 |
|
| 161 |
print(editorial_text)
|
| 162 |
num_tokens = len(tokenizer.tokenize(editorial_text))
|