FIX: adjust quote type in inference_from_file (#33)
adds
full_script = full_script.replace("’", "'")
to the data preparation
This commit is contained in:
@@ -239,6 +239,7 @@ def main():
|
|||||||
|
|
||||||
# Prepare data for model
|
# Prepare data for model
|
||||||
full_script = '\n'.join(scripts)
|
full_script = '\n'.join(scripts)
|
||||||
|
full_script = full_script.replace("’", "'")
|
||||||
|
|
||||||
# Load processor
|
# Load processor
|
||||||
print(f"Loading processor & model from {args.model_path}")
|
print(f"Loading processor & model from {args.model_path}")
|
||||||
|
|||||||
Reference in New Issue
Block a user