rmdhirr commited on
Commit
ae55cec
·
verified ·
1 Parent(s): bdc3142

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -92,17 +92,17 @@ interface = gr.Interface(
92
  gr.components.Textbox(label="Predicted Category"),
93
  gr.components.Textbox(label="Predicted Probability")
94
  ],
95
- title="Phishing Detection Model",
96
- description="Enter a URL and its HTML content to predict if it's spam or legitimate. It's recommended to provide both for accurate results.",
 
 
 
 
 
 
97
  live=True,
98
  css=".interface-container { border: 2px solid #4CAF50; border-radius: 10px; padding: 20px; }"
99
  )
100
 
101
- # Add custom footer
102
- footer = gr.HTML("<div style='text-align: center; margin-top: 20px;'>Made with ❤️ by Ramadhirra<br>Model by Ramadhirra<br>WebUI by Ramadhirra</div>")
103
-
104
  # Launch the Gradio interface
105
- interface.launch()
106
-
107
- # Add footer to interface
108
- interface.layout(footer=footer)
 
92
  gr.components.Textbox(label="Predicted Category"),
93
  gr.components.Textbox(label="Predicted Probability")
94
  ],
95
+ title="Web Phishing Detection",
96
+ description="""
97
+ Enter a URL and its HTML content to predict if it's spam or legitimate. It's recommended to provide both for accurate results.
98
+ <br><br>
99
+ Made with ❤️ by Ramadhirra<br>
100
+ Model by Ramadhirra<br>
101
+ WebUI by Ramadhirra
102
+ """,
103
  live=True,
104
  css=".interface-container { border: 2px solid #4CAF50; border-radius: 10px; padding: 20px; }"
105
  )
106
 
 
 
 
107
  # Launch the Gradio interface
108
+ interface.launch()