Update app.py
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ def get_last_mp3_file(output_dir):
|
|
122 |
# Return the most recent .mp3 file
|
123 |
return mp3_files_with_path[0]
|
124 |
|
125 |
-
device =
|
126 |
|
127 |
model = AutoModelForCausalLM.from_pretrained(
|
128 |
"m-a-p/YuE-s1-7B-anneal-en-cot",
|
|
|
122 |
# Return the most recent .mp3 file
|
123 |
return mp3_files_with_path[0]
|
124 |
|
125 |
+
device = "cuda:0"
|
126 |
|
127 |
model = AutoModelForCausalLM.from_pretrained(
|
128 |
"m-a-p/YuE-s1-7B-anneal-en-cot",
|