Spaces:
Running
Running
kevinwang676
commited on
Commit
•
b175d46
1
Parent(s):
6461e17
Update models/model.py
Browse files- models/model.py +1 -2
models/model.py
CHANGED
@@ -11,7 +11,6 @@ from inference import Inference
|
|
11 |
import gradio as gr
|
12 |
from constants import VOICE_METHODS, BARK_VOICES, EDGE_VOICES, zips_folder, unzips_folder
|
13 |
from tts.conversion import tts_infer, ELEVENLABS_VOICES_RAW, ELEVENLABS_VOICES_NAMES
|
14 |
-
from datetime import date
|
15 |
|
16 |
api_url = "https://rvc-models-api.onrender.com/uploadfile/"
|
17 |
|
@@ -181,7 +180,7 @@ def post_model(name, model_url, version, creator):
|
|
181 |
|
182 |
print(f"正在上传的模型:{file_to_upload}")
|
183 |
data = {
|
184 |
-
"name": name
|
185 |
"version": version,
|
186 |
"creator": creator,
|
187 |
"hash": md5_hash,
|
|
|
11 |
import gradio as gr
|
12 |
from constants import VOICE_METHODS, BARK_VOICES, EDGE_VOICES, zips_folder, unzips_folder
|
13 |
from tts.conversion import tts_infer, ELEVENLABS_VOICES_RAW, ELEVENLABS_VOICES_NAMES
|
|
|
14 |
|
15 |
api_url = "https://rvc-models-api.onrender.com/uploadfile/"
|
16 |
|
|
|
180 |
|
181 |
print(f"正在上传的模型:{file_to_upload}")
|
182 |
data = {
|
183 |
+
"name": name,
|
184 |
"version": version,
|
185 |
"creator": creator,
|
186 |
"hash": md5_hash,
|