Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,6 +40,8 @@ CUSTOM_CSS = """
|
|
| 40 |
padding: 8px; /* a little breathing room */
|
| 41 |
border-radius: 8px; /* soften the corners */
|
| 42 |
}
|
|
|
|
|
|
|
| 43 |
"""
|
| 44 |
|
| 45 |
|
|
@@ -224,10 +226,12 @@ def run_example_by_index(evt: gr.SelectData):
|
|
| 224 |
status,
|
| 225 |
)
|
| 226 |
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
|
|
|
|
|
|
| 231 |
# Header and Introduction
|
| 232 |
gr.HTML("""
|
| 233 |
<div class=\"viddexa-header\" style=\"text-align: center; max-width: 800px; margin: 0 auto;\">
|
|
|
|
| 40 |
padding: 8px; /* a little breathing room */
|
| 41 |
border-radius: 8px; /* soften the corners */
|
| 42 |
}
|
| 43 |
+
|
| 44 |
+
footer {visibility: hidden}
|
| 45 |
"""
|
| 46 |
|
| 47 |
|
|
|
|
| 226 |
status,
|
| 227 |
)
|
| 228 |
|
| 229 |
+
with gr.Blocks(
|
| 230 |
+
theme=gr.themes.Default(primary_hue=gr.themes.colors.teal),
|
| 231 |
+
title="Visual Content Moderation",
|
| 232 |
+
css=CUSTOM_CSS,
|
| 233 |
+
analytics_enabled=False,
|
| 234 |
+
) as demo:
|
| 235 |
# Header and Introduction
|
| 236 |
gr.HTML("""
|
| 237 |
<div class=\"viddexa-header\" style=\"text-align: center; max-width: 800px; margin: 0 auto;\">
|