Spaces:
Running
Running
Activate Compile
Browse files- app.py +2 -2
- requirements.txt +2 -1
app.py
CHANGED
@@ -406,7 +406,7 @@ def build_app():
|
|
406 |
label="Iterative Prompt Length, 0 means off",
|
407 |
minimum=0,
|
408 |
maximum=500,
|
409 |
-
value=
|
410 |
step=8,
|
411 |
)
|
412 |
|
@@ -574,7 +574,7 @@ def parse_args():
|
|
574 |
parser.add_argument("--decoder-config-name", type=str, default="firefly_gan_vq")
|
575 |
parser.add_argument("--device", type=str, default="cuda")
|
576 |
parser.add_argument("--half", action="store_true")
|
577 |
-
parser.add_argument("--compile", action="store_true")
|
578 |
parser.add_argument("--max-gradio-length", type=int, default=0)
|
579 |
parser.add_argument("--theme", type=str, default="light")
|
580 |
|
|
|
406 |
label="Iterative Prompt Length, 0 means off",
|
407 |
minimum=0,
|
408 |
maximum=500,
|
409 |
+
value=200,
|
410 |
step=8,
|
411 |
)
|
412 |
|
|
|
574 |
parser.add_argument("--decoder-config-name", type=str, default="firefly_gan_vq")
|
575 |
parser.add_argument("--device", type=str, default="cuda")
|
576 |
parser.add_argument("--half", action="store_true")
|
577 |
+
parser.add_argument("--compile", action="store_true",default=True)
|
578 |
parser.add_argument("--max-gradio-length", type=int, default=0)
|
579 |
parser.add_argument("--theme", type=str, default="light")
|
580 |
|
requirements.txt
CHANGED
@@ -25,4 +25,5 @@ spaces>=0.26.1
|
|
25 |
einx[torch]==0.2.0
|
26 |
opencc
|
27 |
faster-whisper
|
28 |
-
ormsgpack
|
|
|
|
25 |
einx[torch]==0.2.0
|
26 |
opencc
|
27 |
faster-whisper
|
28 |
+
ormsgpack
|
29 |
+
ffmpeg
|