FIX: adjust quote type in inference_from_file (#33)
adds full_script = full_script.replace("’", "'") to the data preparation
This commit is contained in:
parent
f57a9bffb1
commit
e611deafac
1 changed files with 1 additions and 0 deletions
|
@ -239,6 +239,7 @@ def main():
|
|||
|
||||
# Prepare data for model
|
||||
full_script = '\n'.join(scripts)
|
||||
full_script = full_script.replace("’", "'")
|
||||
|
||||
# Load processor
|
||||
print(f"Loading processor & model from {args.model_path}")
|
||||
|
|
Loading…
Reference in a new issue