Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
3 |
import tensorflow as tf
|
|
|
1 |
+
import os
|
2 |
+
os.environ["CUDA_VISIBLE_DEVICES"] = "-1" # Disable GPU and force CPU mode
|
3 |
+
|
4 |
import gradio as gr
|
5 |
import numpy as np
|
6 |
import tensorflow as tf
|