ElBeh commited on
Commit
5429efa
·
verified ·
1 Parent(s): 6b7fb93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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("Fake Detection")
8
 
9
- file_name = st.file_uploader("Upload an 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="ElBeh/ma_basemodel")
6
 
7
  st.title("Fake Detection")
8
 
9
+ file_name = st.file_uploader("Choose an image...", type="jpg")
10
 
11
  if file_name is not None:
12
  col1, col2 = st.columns(2)