asigalov61 commited on
Commit
5e1876e
1 Parent(s): 98256b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ if __name__ == "__main__":
157
  opt = parser.parse_args()
158
 
159
  print('Loading model...')
160
- session = rt.InferenceSession('Allegro_Music_Transformer_Small_Trained_Model_56000_steps_0.9399_loss_0.7374_acc.onnx', providers=['CUDAExecutionProvider'])
161
  print('Done!')
162
 
163
  app = gr.Blocks()
 
157
  opt = parser.parse_args()
158
 
159
  print('Loading model...')
160
+ session = rt.InferenceSession('Allegro_Music_Transformer_Small_Trained_Model_56000_steps_0.9399_loss_0.7374_acc.onnx', providers=['CUDAExecutionProvider', 'CPUExecutionProvider'])
161
  print('Done!')
162
 
163
  app = gr.Blocks()