Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ pipeline = pipeline(task="image-classification", model="umm-maybe/AI-image-detec
|
|
6 |
st.title("AI Image Detector")
|
7 |
file_name = st.file_uploader("Upload a picture. Let's find out if it was made by AI!")
|
8 |
if file_name is not None:
|
9 |
-
col1, col2 = st.columns(
|
10 |
image = Image.open(file_name)
|
11 |
col1.image(image, use_column_width=True)
|
12 |
predictions = pipeline(image)
|
|
|
6 |
st.title("AI Image Detector")
|
7 |
file_name = st.file_uploader("Upload a picture. Let's find out if it was made by AI!")
|
8 |
if file_name is not None:
|
9 |
+
col1, col2 = st.columns(2)
|
10 |
image = Image.open(file_name)
|
11 |
col1.image(image, use_column_width=True)
|
12 |
predictions = pipeline(image)
|