Spaces:
Runtime error
Runtime error
tcvrishank
commited on
Commit
•
7f51c38
1
Parent(s):
fcb742b
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
-
os.system("
|
4 |
import torch
|
5 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
6 |
from PIL import Image
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
+
os.system("pip3 install torch transformers Pillow ensemble_transformers")
|
4 |
import torch
|
5 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
6 |
from PIL import Image
|