Update app.py
Browse files
app.py
CHANGED
@@ -95,15 +95,28 @@ interface = gr.Interface(
|
|
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="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
)
|
100 |
|
101 |
# Footer text
|
102 |
footer = gr.Markdown("""
|
103 |
---
|
104 |
-
|
105 |
-
|
106 |
-
|
|
|
|
|
107 |
""")
|
108 |
|
109 |
# Combine the interface and footer
|
|
|
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="""
|
99 |
+
.interface-container {
|
100 |
+
border: 2px solid #4CAF50;
|
101 |
+
border-radius: 10px;
|
102 |
+
padding: 20px;
|
103 |
+
text-align: center;
|
104 |
+
}
|
105 |
+
.gr-textbox, .gr-textbox textarea, .gr-button {
|
106 |
+
margin-left: auto !important;
|
107 |
+
margin-right: auto !important;
|
108 |
+
}
|
109 |
+
"""
|
110 |
)
|
111 |
|
112 |
# Footer text
|
113 |
footer = gr.Markdown("""
|
114 |
---
|
115 |
+
<div style="text-align: center;">
|
116 |
+
Made with ❤️ by Ramadhirra<br>
|
117 |
+
Model by Ramadhirra<br>
|
118 |
+
WebUI by Ramadhirra
|
119 |
+
</div>
|
120 |
""")
|
121 |
|
122 |
# Combine the interface and footer
|