Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
| 6 |
|
| 7 |
st.title("Fake Detection")
|
| 8 |
|
| 9 |
-
file_name = st.file_uploader("
|
| 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)
|