Flux9665 commited on
Commit
c8c05d4
β€’
1 Parent(s): 7234e3c

use different version of gradio as the current one has many bugs

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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
  """