Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,3 @@
|
|
| 1 |
-
To add zero GPU usage on Hugging Face Spaces, you can specify the `@spaces.GPU` decorator in your Gradio app to indicate that no GPU resources are required. Here is how you can modify your script to include this:
|
| 2 |
-
|
| 3 |
-
```python
|
| 4 |
# Import necessary libraries
|
| 5 |
import os
|
| 6 |
import tempfile
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Import necessary libraries
|
| 2 |
import os
|
| 3 |
import tempfile
|