parass13 commited on
Commit
cda5c31
·
verified ·
1 Parent(s): 41712a7

Update pages/about.py

Browse files
Files changed (1) hide show
  1. pages/about.py +20 -42
pages/about.py CHANGED
@@ -1,43 +1,21 @@
1
- import streamlit as st
2
- from PIL import Image
3
- import io
4
 
5
-
6
- def show_about():
7
- st.header(' ')
8
- st.header(' ')
9
- st.header(' ')
10
- #st.header("API")
11
- st.write("A deepfake is a type of synthetic media generated using deep learning techniques, particularly deep neural networks. The term ""deepfake"" is a combination of ""deep learning"" and ""fake.""")
12
- st.write("In deepfake technology, algorithms are used to create or manipulate audio,\
13
- video, or images to depict something that did not actually occur or that alters the appearance or actions of individuals.\
14
- This can involve superimposing images or videos of people onto existing footage,\
15
- making individuals appear to say or do things they never said or did.")
16
- st.header("Deepfake Fraud Statistics")
17
- #st.write("")
18
- image = Image.open("C:\\Users\\Paras Sharma\\OneDrive\\Pictures\\Saved Pictures\\deepfake-growth.jpg")
19
- new_image = image.resize((600, 400))
20
- st.image(new_image)
21
-
22
-
23
- st.header("Real Cases:")
24
- st.markdown("**Kerala Man Loses Rs 40,000 to AI-Based Deepfake WhatsApp Fraud**")
25
- st.write("According to India Today, a man in Kerala lost Rs 40,000 in an online scam on WhatsApp involving\
26
- AI-based deepfake technology. The scammer impersonated the victim's former\
27
- colleague via video call, fabricating a medical emergency and requesting\
28
- money. This incident underscores the danger of sophisticated online fraud\
29
- using deepfake technology and emphasizes the importance of verifying\
30
- unexpected financial requests to avoid falling victim to such scams.")
31
-
32
-
33
-
34
-
35
- '''st.header("The Dangers of Deepfakes")
36
- st.write("Organizations and individuals are at risk regarding deepfakes as it’s a source that leverages social engineering attempts to manufacture fraudulent texts, voice messages, and fake videos to spread misinformation. \
37
- According to the US Department of Defense, deepfakes are AI-generated, highly realistic content that can be used to: \
38
- Threaten an organization’s brand. \
39
- Impersonate leaders and financial officers. \
40
- Enable access to networks, communications, and other sensitive information. \
41
- In this sense, all companies that are housing business and customer data could be at risk to these attacks.")
42
- '''
43
-
 
1
+ import gradio as gr
 
 
2
 
3
+ def layout():
4
+ return gr.Column([
5
+ gr.Markdown("## What is a Deepfake?"),
6
+ gr.Markdown(
7
+ "A **deepfake** is a type of synthetic media generated using deep learning techniques, "
8
+ "particularly deep neural networks. The term **'deepfake'** is a combination of *'deep learning'* and *'fake'*."
9
+ "\n\nIn deepfake technology, algorithms are used to create or manipulate audio, video, or images to depict something "
10
+ "that did not actually occur or that alters the appearance or actions of individuals. This can involve superimposing "
11
+ "images or videos of people onto existing footage, making individuals appear to say or do things they never said or did."
12
+ ),
13
+ gr.Markdown("## Real Cases"),
14
+ gr.Markdown("**Kerala Man Loses Rs 40,000 to AI-Based Deepfake WhatsApp Fraud**"),
15
+ gr.Markdown(
16
+ "A man in Kerala lost Rs 40,000 in an online scam on WhatsApp involving AI-based deepfake technology. "
17
+ "The scammer impersonated the victim's former colleague via video call, fabricating a medical emergency and requesting money. "
18
+ "This incident underscores the danger of sophisticated online fraud using deepfake technology and emphasizes the importance "
19
+ "of verifying unexpected financial requests to avoid falling victim to such scams."
20
+ )
21
+ ])