Spaces:
Runtime error
Runtime error
Update FantasyTalking/infer.py
Browse files- FantasyTalking/infer.py +1 -1
FantasyTalking/infer.py
CHANGED
|
@@ -12,7 +12,7 @@ import torch
|
|
| 12 |
from PIL import Image
|
| 13 |
from transformers import Wav2Vec2Model, Wav2Vec2Processor
|
| 14 |
|
| 15 |
-
from FantasyTalking.
|
| 16 |
from FantasyTalking.model import FantasyTalkingAudioConditionModel
|
| 17 |
from FantasyTalking.utils import get_audio_features, resize_image_by_longest_edge, save_video
|
| 18 |
|
|
|
|
| 12 |
from PIL import Image
|
| 13 |
from transformers import Wav2Vec2Model, Wav2Vec2Processor
|
| 14 |
|
| 15 |
+
from FantasyTalking.Diffsynth import ModelManager, WanVideoPipeline
|
| 16 |
from FantasyTalking.model import FantasyTalkingAudioConditionModel
|
| 17 |
from FantasyTalking.utils import get_audio_features, resize_image_by_longest_edge, save_video
|
| 18 |
|