Spaces:
Running
Running
Commit
·
5ce3fc0
1
Parent(s):
b10a147
Drop theme
Browse files
src/ai_security/chatter_demo.py
CHANGED
|
@@ -44,11 +44,9 @@ def clear_all_outputs():
|
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
-
hwr_theme = gr.themes.Default(primary_hue=gr.themes.colors.rose, secondary_hue=gr.themes.colors.red)
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
with demo:
|
| 52 |
|
| 53 |
gr.Markdown("""
|
| 54 |
# Chatter Detection Demo
|
|
|
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
+
# hwr_theme = gr.themes.Default(primary_hue=gr.themes.colors.rose, secondary_hue=gr.themes.colors.red)
|
| 48 |
+
# with gr.Blocks(theme=hwr_theme) as demo:
|
| 49 |
+
with gr.Blocks() as demo:
|
|
|
|
|
|
|
| 50 |
|
| 51 |
gr.Markdown("""
|
| 52 |
# Chatter Detection Demo
|
src/ai_security/malware_demo.py
CHANGED
|
@@ -36,10 +36,10 @@ def clear_all_outputs():
|
|
| 36 |
return None, None, None, None, None
|
| 37 |
|
| 38 |
|
| 39 |
-
hwr_theme = gr.themes.Default(primary_hue=gr.themes.colors.rose, secondary_hue=gr.themes.colors.red)
|
|
|
|
| 40 |
|
| 41 |
-
|
| 42 |
-
with gr.Blocks(theme=hwr_theme) as demo:
|
| 43 |
|
| 44 |
gr.Markdown("""
|
| 45 |
# Malware Detection Demo
|
|
|
|
| 36 |
return None, None, None, None, None
|
| 37 |
|
| 38 |
|
| 39 |
+
# hwr_theme = gr.themes.Default(primary_hue=gr.themes.colors.rose, secondary_hue=gr.themes.colors.red)
|
| 40 |
+
# with gr.Blocks(theme=hwr_theme) as demo:
|
| 41 |
|
| 42 |
+
with gr.Blocks() as demo:
|
|
|
|
| 43 |
|
| 44 |
gr.Markdown("""
|
| 45 |
# Malware Detection Demo
|