fcakyon commited on
Commit
e1cd140
·
verified ·
1 Parent(s): b40757a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -3,7 +3,6 @@ import gradio as gr
3
  import json
4
  from typing import Any, Dict, Tuple
5
  from dotenv import load_dotenv
6
- import gradio.themes as gr_themes
7
  from urllib.request import urlopen, Request, urlretrieve
8
  from io import BytesIO
9
  from PIL import Image
@@ -228,7 +227,7 @@ def run_example_by_index(evt: gr.SelectData):
228
 
229
  # --- Gradio Interface ---
230
 
231
- with gr.Blocks(theme=gr_themes.Soft(), title="Viddexa - Visual Content Moderation", css=CUSTOM_CSS) as demo:
232
  # Header and Introduction
233
  gr.HTML("""
234
  <div class=\"viddexa-header\" style=\"text-align: center; max-width: 800px; margin: 0 auto;\">
 
3
  import json
4
  from typing import Any, Dict, Tuple
5
  from dotenv import load_dotenv
 
6
  from urllib.request import urlopen, Request, urlretrieve
7
  from io import BytesIO
8
  from PIL import Image
 
227
 
228
  # --- Gradio Interface ---
229
 
230
+ with gr.Blocks(theme=gr.themes.Default(primary_hue=gr.themes.colors.teal), title="Viddexa - Visual Content Moderation", css=CUSTOM_CSS) as demo:
231
  # Header and Introduction
232
  gr.HTML("""
233
  <div class=\"viddexa-header\" style=\"text-align: center; max-width: 800px; margin: 0 auto;\">