Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,10 +7,11 @@ import time
|
|
| 7 |
import torch
|
| 8 |
from joblib import load
|
| 9 |
import matplotlib.pyplot as plt
|
| 10 |
-
from transformers import AutoImageProcessor, AutoModelForImageClassification
|
| 11 |
-
from streamlit.components.v1 import html
|
| 12 |
import os
|
| 13 |
os.environ['TRANSFORMERS_CACHE'] = '/app/cache'
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
|
| 16 |
|
|
|
|
| 7 |
import torch
|
| 8 |
from joblib import load
|
| 9 |
import matplotlib.pyplot as plt
|
|
|
|
|
|
|
| 10 |
import os
|
| 11 |
os.environ['TRANSFORMERS_CACHE'] = '/app/cache'
|
| 12 |
+
from transformers import AutoImageProcessor, AutoModelForImageClassification
|
| 13 |
+
from streamlit.components.v1 import html
|
| 14 |
+
|
| 15 |
|
| 16 |
|
| 17 |
|