Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,11 +55,11 @@ class model_onxx:
|
|
| 55 |
def function_change(self,n_model,token,n_onxx,choice):
|
| 56 |
if choice=="decoder":
|
| 57 |
|
| 58 |
-
V=self.
|
| 59 |
elif choice=="all only decoder":
|
| 60 |
V=self.convert_to_onnx_only_decoder(n_model,token,n_onxx)
|
| 61 |
else:
|
| 62 |
-
V=self.
|
| 63 |
return V
|
| 64 |
|
| 65 |
def install_model(self,n_model,token,n_onxx):
|
|
|
|
| 55 |
def function_change(self,n_model,token,n_onxx,choice):
|
| 56 |
if choice=="decoder":
|
| 57 |
|
| 58 |
+
V=self.convert_to_onnx_only_decoder(n_model,token,n_onxx)
|
| 59 |
elif choice=="all only decoder":
|
| 60 |
V=self.convert_to_onnx_only_decoder(n_model,token,n_onxx)
|
| 61 |
else:
|
| 62 |
+
V=self.convert_to_onnx_only_decoder(n_model,token,n_onxx)
|
| 63 |
return V
|
| 64 |
|
| 65 |
def install_model(self,n_model,token,n_onxx):
|