csukuangfj commited on
Commit
109bc13
1 Parent(s): 91d92cb

small fixes

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. model.py +0 -1
app.py CHANGED
@@ -164,7 +164,7 @@ def process(
164
  )
165
 
166
  logging.info(info)
167
- logging.info(f"\nrepo_id: {repo_id}\nhyp:{text}")
168
 
169
  return text, build_html_output(info)
170
 
 
164
  )
165
 
166
  logging.info(info)
167
+ logging.info(f"\nrepo_id: {repo_id}\nhyp: {text}")
168
 
169
  return text, build_html_output(info)
170
 
model.py CHANGED
@@ -48,7 +48,6 @@ def get_pretrained_model(
48
  repo_id, decoding_method=decoding_method, num_active_paths=num_active_paths
49
  )
50
  elif repo_id in tibetan_models:
51
- return tibetan_models[repo_id](repo_id)
52
  return tibetan_models[repo_id](
53
  repo_id, decoding_method=decoding_method, num_active_paths=num_active_paths
54
  )
 
48
  repo_id, decoding_method=decoding_method, num_active_paths=num_active_paths
49
  )
50
  elif repo_id in tibetan_models:
 
51
  return tibetan_models[repo_id](
52
  repo_id, decoding_method=decoding_method, num_active_paths=num_active_paths
53
  )