Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,8 @@ import streamlit as st
|
|
2 |
from transformers import pipeline
|
3 |
from PIL import Image
|
4 |
|
5 |
-
pipeline = pipeline(task="image-classification", model="
|
6 |
-
st.title("
|
7 |
file_name = st.file_uploader("Upload a hot dog candidate")
|
8 |
if file_name is not None:
|
9 |
col1, col2 = st.columns(2)
|
|
|
2 |
from transformers import pipeline
|
3 |
from PIL import Image
|
4 |
|
5 |
+
pipeline = pipeline(task="image-classification", model="umm-maybe/AI-image-detector")
|
6 |
+
st.title("AI Image Detector")
|
7 |
file_name = st.file_uploader("Upload a hot dog candidate")
|
8 |
if file_name is not None:
|
9 |
col1, col2 = st.columns(2)
|