Spaces:
Sleeping
Sleeping
Commit
·
d38c06b
1
Parent(s):
92a59ca
Update app.py
Browse files
app.py
CHANGED
@@ -18,6 +18,7 @@ import requests
|
|
18 |
import json
|
19 |
import soundfile as sf
|
20 |
from scipy import signal
|
|
|
21 |
class VitsGradio:
|
22 |
def __init__(self):
|
23 |
self.lan = ["中文","日文","自动"]
|
@@ -79,7 +80,6 @@ class VitsGradio:
|
|
79 |
|
80 |
|
81 |
def mori(self,text):
|
82 |
-
import http.client
|
83 |
conn = http.client.HTTPSConnection("api.mlyai.com")
|
84 |
payload = json.dumps({
|
85 |
"content": text,
|
|
|
18 |
import json
|
19 |
import soundfile as sf
|
20 |
from scipy import signal
|
21 |
+
import http.client
|
22 |
class VitsGradio:
|
23 |
def __init__(self):
|
24 |
self.lan = ["中文","日文","自动"]
|
|
|
80 |
|
81 |
|
82 |
def mori(self,text):
|
|
|
83 |
conn = http.client.HTTPSConnection("api.mlyai.com")
|
84 |
payload = json.dumps({
|
85 |
"content": text,
|