Update gradio_app.py

This commit is contained in:
Rumah 2024-04-19 16:53:12 +08:00 committed by GitHub
parent 376fd114de
commit 4e28818cf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ def load_models(whisper_backend_name, whisper_model_name, alignment_model_name,
# Define the source and destination paths # Define the source and destination paths
source_path = "/content/encodec_4cb2048_giga.th" source_path = "/content/encodec_4cb2048_giga.th"
destination_path = "/content/VoiceCraft/pretrained_models/encodec_4cb2048_giga.th" destination_path = "/content/VoiceCraft-gradio-colab/pretrained_models/encodec_4cb2048_giga.th"
# Move or copy the file to the correct location # Move or copy the file to the correct location
try: try: