waysolong commited on
Commit
3439258
·
1 Parent(s): 53970a1
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,7 +75,7 @@ def process(language: str, repo_id: str, text: str, sid: str, speed: float):
75
  sid = int(sid)
76
 
77
  config = "examples/biaobei/config.yaml"
78
- checkpoint = "checkpoints\checkpoint_140000.pth.tar"
79
  if os.path.exists(config):
80
  print("file cunzai ")
81
  else:
@@ -196,7 +196,7 @@ with demo:
196
 
197
 
198
  if __name__ == "__main__":
199
-
200
  formatter = "%(asctime)s %(levelname)s [%(filename)s:%(lineno)d] %(message)s"
201
 
202
  logging.basicConfig(format=formatter, level=logging.INFO)
 
75
  sid = int(sid)
76
 
77
  config = "examples/biaobei/config.yaml"
78
+ checkpoint = "checkpoints/checkpoint_140000.pth.tar"
79
  if os.path.exists(config):
80
  print("file cunzai ")
81
  else:
 
196
 
197
 
198
  if __name__ == "__main__":
199
+
200
  formatter = "%(asctime)s %(levelname)s [%(filename)s:%(lineno)d] %(message)s"
201
 
202
  logging.basicConfig(format=formatter, level=logging.INFO)