LalithThomala commited on
Commit
0378d59
·
verified ·
1 Parent(s): 909ef72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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="julien-c/hotdog-not-hotdog")
6
 
7
- st.title("Hot Dog? Or Not?")
8
 
9
- file_name = st.file_uploader("Upload a hot dog candidate image")
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)