Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,7 @@ from PIL import Image
|
|
| 5 |
import numpy as np
|
| 6 |
from pytrends.request import TrendReq
|
| 7 |
import matplotlib.pyplot as plt
|
|
|
|
| 8 |
|
| 9 |
# Load the CLIP model
|
| 10 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
|
| 5 |
import numpy as np
|
| 6 |
from pytrends.request import TrendReq
|
| 7 |
import matplotlib.pyplot as plt
|
| 8 |
+
import os
|
| 9 |
|
| 10 |
# Load the CLIP model
|
| 11 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|