Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,6 +20,7 @@ logging.set_verbosity_info()
|
|
| 20 |
logger = logging.get_logger(__name__)
|
| 21 |
|
| 22 |
|
|
|
|
| 23 |
class VibeVoiceDemo:
|
| 24 |
def __init__(self, model_path: str, device: str = "cuda", inference_steps: int = 5):
|
| 25 |
self.model_path = model_path
|
|
@@ -415,7 +416,7 @@ def run_demo(
|
|
| 415 |
model_path: str = "microsoft/VibeVoice-1.5B",
|
| 416 |
device: str = "cuda",
|
| 417 |
inference_steps: int = 5,
|
| 418 |
-
share: bool =
|
| 419 |
):
|
| 420 |
set_seed(42)
|
| 421 |
demo_instance = VibeVoiceDemo(model_path, device, inference_steps)
|
|
|
|
| 20 |
logger = logging.get_logger(__name__)
|
| 21 |
|
| 22 |
|
| 23 |
+
|
| 24 |
class VibeVoiceDemo:
|
| 25 |
def __init__(self, model_path: str, device: str = "cuda", inference_steps: int = 5):
|
| 26 |
self.model_path = model_path
|
|
|
|
| 416 |
model_path: str = "microsoft/VibeVoice-1.5B",
|
| 417 |
device: str = "cuda",
|
| 418 |
inference_steps: int = 5,
|
| 419 |
+
share: bool = False,
|
| 420 |
):
|
| 421 |
set_seed(42)
|
| 422 |
demo_instance = VibeVoiceDemo(model_path, device, inference_steps)
|