Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
|
10 |
model.to(device)
|
11 |
model.half()
|
12 |
|
13 |
-
base_info = "
|
14 |
def preprocess(text):
|
15 |
text = f"{base_info}{text}"
|
16 |
text = text.replace("\n", "\\n").replace("\t", "\\t")
|
|
|
10 |
model.to(device)
|
11 |
model.half()
|
12 |
|
13 |
+
base_info = ""
|
14 |
def preprocess(text):
|
15 |
text = f"{base_info}{text}"
|
16 |
text = text.replace("\n", "\\n").replace("\t", "\\t")
|