Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def parse_args():
|
|
47 |
|
48 |
args = parse_args()
|
49 |
if load_model:
|
50 |
-
inference = pipeline('my-anytext-task', model='damo/cv_anytext_text_generation_editing', model_revision='v1.1.
|
51 |
|
52 |
|
53 |
def count_lines(prompt):
|
|
|
47 |
|
48 |
args = parse_args()
|
49 |
if load_model:
|
50 |
+
inference = pipeline('my-anytext-task', model='damo/cv_anytext_text_generation_editing', model_revision='v1.1.3', use_fp16=not args.use_fp32, use_translator=not args.no_translator, font_path=args.font_path)
|
51 |
|
52 |
|
53 |
def count_lines(prompt):
|