Spaces:
Runtime error
Runtime error
breynolds1247
commited on
Commit
•
0049c29
1
Parent(s):
ffee095
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
import os
|
2 |
-
os.environ['CUDA_VISIBLE_DEVICES'] = '-1'
|
3 |
#os.environ['TF_ENABLE_ONEDNN_OPTS'] = '0'
|
4 |
|
5 |
#Imports
|
6 |
-
import tensorflow as tf
|
7 |
-
from tensorflow import keras
|
8 |
import matplotlib.pyplot as plt
|
9 |
import tensorflow_hub as hub
|
10 |
|
|
|
1 |
+
#import os
|
2 |
+
#os.environ['CUDA_VISIBLE_DEVICES'] = '-1'
|
3 |
#os.environ['TF_ENABLE_ONEDNN_OPTS'] = '0'
|
4 |
|
5 |
#Imports
|
6 |
+
import tensorflow-cpu as tf
|
7 |
+
from tensorflow-cpu import keras
|
8 |
import matplotlib.pyplot as plt
|
9 |
import tensorflow_hub as hub
|
10 |
|