allimonae commited on
Commit
912994f
·
verified ·
1 Parent(s): cb67c7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(3)
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)