Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import torch
|
| 2 |
import json
|
| 3 |
from anyaccomp.inference_utils import Sing2SongInferencePipeline
|
|
@@ -9,7 +10,6 @@ import soundfile as sf
|
|
| 9 |
import gradio as gr
|
| 10 |
import time
|
| 11 |
from huggingface_hub import snapshot_download
|
| 12 |
-
import spaces # added
|
| 13 |
|
| 14 |
repo_id = "amphion/anyaccomp"
|
| 15 |
base_dir = os.path.dirname(os.path.abspath(__file__))
|
|
|
|
| 1 |
+
import spaces # added
|
| 2 |
import torch
|
| 3 |
import json
|
| 4 |
from anyaccomp.inference_utils import Sing2SongInferencePipeline
|
|
|
|
| 10 |
import gradio as gr
|
| 11 |
import time
|
| 12 |
from huggingface_hub import snapshot_download
|
|
|
|
| 13 |
|
| 14 |
repo_id = "amphion/anyaccomp"
|
| 15 |
base_dir = os.path.dirname(os.path.abspath(__file__))
|