Spaces:
Runtime error
Runtime error
use different version of gradio as the current one has many bugs
Browse files
app.py
CHANGED
|
@@ -6,7 +6,10 @@ import numpy as np
|
|
| 6 |
import torch
|
| 7 |
|
| 8 |
from InferenceInterfaces.Meta_FastSpeech2 import Meta_FastSpeech2
|
|
|
|
| 9 |
|
|
|
|
|
|
|
| 10 |
|
| 11 |
def float2pcm(sig, dtype='int16'):
|
| 12 |
"""
|
|
|
|
| 6 |
import torch
|
| 7 |
|
| 8 |
from InferenceInterfaces.Meta_FastSpeech2 import Meta_FastSpeech2
|
| 9 |
+
import os
|
| 10 |
|
| 11 |
+
os.system("pip uninstall -y gradio")
|
| 12 |
+
os.system("pip install gradio==2.7.5")
|
| 13 |
|
| 14 |
def float2pcm(sig, dtype='int16'):
|
| 15 |
"""
|