Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ from huggingface_hub import hf_hub_download
|
|
| 12 |
embed_html1 = '<iframe width="560" height="315" src="https://www.youtube.com/embed/'
|
| 13 |
embed_html2 = '" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'
|
| 14 |
# NO GPU
|
| 15 |
-
|
| 16 |
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
|
| 17 |
|
| 18 |
#
|
|
|
|
| 12 |
embed_html1 = '<iframe width="560" height="315" src="https://www.youtube.com/embed/'
|
| 13 |
embed_html2 = '" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'
|
| 14 |
# NO GPU
|
| 15 |
+
os.environ['CUDA_VISIBLE_DEVICES'] = '-1'
|
| 16 |
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
|
| 17 |
|
| 18 |
#
|