Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,11 +2,11 @@ import streamlit as st
|
|
2 |
from transformers import pipeline
|
3 |
from PIL import Image
|
4 |
|
5 |
-
pipeline = pipeline(task="image-classification", model="
|
6 |
|
7 |
-
st.title("
|
8 |
|
9 |
-
file_name = st.file_uploader("Upload a
|
10 |
|
11 |
if file_name is not None:
|
12 |
col1, col2 = st.columns(2)
|
|
|
2 |
from transformers import pipeline
|
3 |
from PIL import Image
|
4 |
|
5 |
+
pipeline = pipeline(task="image-classification", model="trpakov/vit-face-expression")
|
6 |
|
7 |
+
st.title("Happy or Not?")
|
8 |
|
9 |
+
file_name = st.file_uploader("Upload a your picture")
|
10 |
|
11 |
if file_name is not None:
|
12 |
col1, col2 = st.columns(2)
|