Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
-
classifier =
|
|
|
|
| 5 |
|
| 6 |
def main():
|
| 7 |
st.title("image-classification")
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
+
classifier = pipeline("image-classification",
|
| 5 |
+
model="microsoft/cvt-13")
|
| 6 |
|
| 7 |
def main():
|
| 8 |
st.title("image-classification")
|