Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ class App:
|
|
| 12 |
def __init__(self,
|
| 13 |
args=None):
|
| 14 |
self.args = args
|
| 15 |
-
self.app = gr.Blocks(css=GRADIO_CSS)
|
| 16 |
self.i18n = Translate(I18N_YAML_PATH)
|
| 17 |
self.inferencer = LivePortraitInferencer(
|
| 18 |
model_dir=args.model_dir if args else MODELS_DIR,
|
|
@@ -88,7 +88,6 @@ class App:
|
|
| 88 |
fn=self.inferencer.edit_expression,
|
| 89 |
inputs=params + opt_in_features_params,
|
| 90 |
outputs=img_out,
|
| 91 |
-
title="📋 Generative Expression Editor",
|
| 92 |
queue=True
|
| 93 |
)
|
| 94 |
|
|
|
|
| 12 |
def __init__(self,
|
| 13 |
args=None):
|
| 14 |
self.args = args
|
| 15 |
+
self.app = gr.Blocks(css=GRADIO_CSS, title="📋 Generative Expression Editor")
|
| 16 |
self.i18n = Translate(I18N_YAML_PATH)
|
| 17 |
self.inferencer = LivePortraitInferencer(
|
| 18 |
model_dir=args.model_dir if args else MODELS_DIR,
|
|
|
|
| 88 |
fn=self.inferencer.edit_expression,
|
| 89 |
inputs=params + opt_in_features_params,
|
| 90 |
outputs=img_out,
|
|
|
|
| 91 |
queue=True
|
| 92 |
)
|
| 93 |
|