elucidator8918 commited on
Commit
2d8937f
·
verified ·
1 Parent(s): 4aac759

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from tensorflow.keras.models import load_model
4
  import gradio as gr
5
  import tempfile
6
  import os
7
-
8
  # Load your pre-trained model
9
  model = load_model('cnn_lstm1.h5')
10
 
 
4
  import gradio as gr
5
  import tempfile
6
  import os
7
+ os.environ['CUDA_VISIBLE_DEVICES'] = "0"
8
  # Load your pre-trained model
9
  model = load_model('cnn_lstm1.h5')
10