Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,14 @@ from transformers import pipeline
|
|
6 |
import pandas as pd
|
7 |
import matplotlib.pyplot as plt
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
# Function to load a random image from a folder
|
11 |
def load_random_image(folder_path):
|
|
|
6 |
import pandas as pd
|
7 |
import matplotlib.pyplot as plt
|
8 |
|
9 |
+
# Sidebar with author and contact info
|
10 |
+
st.sidebar.header('About the App')
|
11 |
+
st.sidebar.write('This Image Classifier app can classify images as Real or Fake.')
|
12 |
+
st.sidebar.write('This AI is trained on a dataset of real and deepfake images. It uses a pre-trained model to classify images. You can upload an image or use a random image from the dataset to test the classifier.')
|
13 |
+
st.sidebar.header('Author')
|
14 |
+
st.sidebar.write('Jan Mikolon')
|
15 |
+
st.sidebar.write('📧 Contact: [email protected]')
|
16 |
+
st.sidebar.markdown('[![LinkedIn](https://img.shields.io/badge/LinkedIn-Profile-blue)](https://www.linkedin.com/in/jan-mikolon/)', unsafe_allow_html=True)
|
17 |
|
18 |
# Function to load a random image from a folder
|
19 |
def load_random_image(folder_path):
|