wasmdashai commited on
Commit
a6abf4f
·
verified ·
1 Parent(s): 7024970

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -85,8 +85,8 @@ class model_onxx:
85
  'output': {0: 'batch_size'}
86
  }
87
  )
88
- #return self.download_file(x)
89
- return x
90
  def convert_to_onnx_all(self,n_model,token ,namemodelonxx):
91
 
92
  model=VitsModel.from_pretrained(n_model,token=token)
@@ -106,7 +106,7 @@ class model_onxx:
106
  'output': {0: 'batch_size'}
107
  }
108
  )
109
- return self.download_file(x)
110
  def starrt(self):
111
  #with gr.Blocks() as demo:
112
  with gr.Row():
 
85
  'output': {0: 'batch_size'}
86
  }
87
  )
88
+ return x
89
+
90
  def convert_to_onnx_all(self,n_model,token ,namemodelonxx):
91
 
92
  model=VitsModel.from_pretrained(n_model,token=token)
 
106
  'output': {0: 'batch_size'}
107
  }
108
  )
109
+ return x
110
  def starrt(self):
111
  #with gr.Blocks() as demo:
112
  with gr.Row():