Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Commit
•
30685fa
1
Parent(s):
b9dc011
Update app.py
Browse files
app.py
CHANGED
@@ -153,7 +153,7 @@ if __name__ == "__main__":
|
|
153 |
opt = parser.parse_args()
|
154 |
|
155 |
print('Loading model...')
|
156 |
-
session = rt.InferenceSession('Allegro_Music_Transformer_Small_Trained_Model_56000_steps_0.9399_loss_0.7374_acc.onnx', providers=['
|
157 |
print('Done!')
|
158 |
|
159 |
app = gr.Blocks()
|
|
|
153 |
opt = parser.parse_args()
|
154 |
|
155 |
print('Loading model...')
|
156 |
+
session = rt.InferenceSession('Allegro_Music_Transformer_Small_Trained_Model_56000_steps_0.9399_loss_0.7374_acc.onnx', providers=['CUDAExecutionProvider'])
|
157 |
print('Done!')
|
158 |
|
159 |
app = gr.Blocks()
|