Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import numpy as np
|
|
5 |
import os
|
6 |
|
7 |
model_checkpoint = "penpen/novel-zh-en"
|
8 |
-
translator = pipeline("translation", model=model_checkpoint, max_time=7
|
9 |
default_dict = pd.read_csv("example_dictionary.csv", names=["Chinese", "English"])
|
10 |
examples = pd.read_csv("examples.csv", header = None)
|
11 |
|
|
|
5 |
import os
|
6 |
|
7 |
model_checkpoint = "penpen/novel-zh-en"
|
8 |
+
translator = pipeline("translation", model=model_checkpoint, max_time=7)
|
9 |
default_dict = pd.read_csv("example_dictionary.csv", names=["Chinese", "English"])
|
10 |
examples = pd.read_csv("examples.csv", header = None)
|
11 |
|