Spaces:
Running
Running
File size: 1,540 Bytes
8f65fd7 5ba9330 0d35661 8f65fd7 d6e3a1c 8f65fd7 d6e3a1c 8f65fd7 d6e3a1c 8f65fd7 d6e3a1c 8f65fd7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
import gradio as gr
def layout():
with gr.Blocks() as user_guide:
gr.Markdown("## π§ User Guide")
gr.Markdown("Follow these simple steps to use the Deepfake Detection System:")
with gr.Group():
gr.Markdown("### π Step 1: Register or Log In")
gr.Markdown("""
- If you're a new user, click **Sign Up** and provide your Name, Email, Phone, and Password.
- Existing users can directly **Log In** using their registered credentials.
""")
with gr.Group():
gr.Markdown("### π· Step 2: Upload an Image")
gr.Markdown("""
- Once logged in, you'll be taken to the **Detection Panel**.
- Upload any image you suspect might be fake or tampered with.
- Supported formats: JPG, PNG, JPEG.
""")
with gr.Group():
gr.Markdown("### π§ Step 3: Get Deepfake Detection Results")
gr.Markdown("""
- Click the **Predict** button.
- The system uses a trained Deep Learning model to analyze the image.
- You'll see either:
- β
**Real Image** β if the image appears authentic, or
- β οΈ **Fake Image** β if the model detects manipulation.
""")
with gr.Group():
gr.Markdown("### π Step 4: Log Out")
gr.Markdown("When you're done, just click the **Logout** button to securely end your session.")
return user_guide
|