Spaces:
Running
Running
requests
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from transformers import AutoProcessor, MllamaForConditionalGeneration
|
|
5 |
from PIL import Image
|
6 |
import spaces
|
7 |
import tempfile
|
|
|
8 |
|
9 |
# Check if we're running in a Hugging Face Space and if SPACES_ZERO_GPU is enabled
|
10 |
IS_SPACES_ZERO = os.environ.get("SPACES_ZERO_GPU", "0") == "1"
|
|
|
5 |
from PIL import Image
|
6 |
import spaces
|
7 |
import tempfile
|
8 |
+
import requests
|
9 |
|
10 |
# Check if we're running in a Hugging Face Space and if SPACES_ZERO_GPU is enabled
|
11 |
IS_SPACES_ZERO = os.environ.get("SPACES_ZERO_GPU", "0") == "1"
|