banyapon commited on
Commit
e37fe1f
·
1 Parent(s): 2f19003

Build app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -20
app.py CHANGED
@@ -4,26 +4,10 @@ from pannellum import Pannellum
4
 
5
  # ... (Your other functions like `text_to_pano` remain unchanged)
6
 
7
- class RedTheme(themes.Theme):
8
- def __init__(self):
9
- super().__init__(
10
- # Primary Color (Different Shades of Red)
11
- primary_hue=themes.Color(
12
- name="red",
13
- light="#FF5733", # Light Red
14
- dark="#C70039" # Dark Red
15
- ),
16
- # Secondary Color (Gray for Contrast)
17
- secondary_hue=themes.Color(
18
- name="gray",
19
- light="#808080", # Light Gray
20
- dark="#333333" # Dark Gray
21
- ),
22
- # ... customize other colors if needed (e.g., background, text)
23
- )
24
-
25
-
26
- with gr.Blocks(theme=RedTheme()) as demo:
27
  # Header with Image
28
  with gr.Row():
29
  gr.HTML(f"""
 
4
 
5
  # ... (Your other functions like `text_to_pano` remain unchanged)
6
 
7
+ with gr.Blocks(
8
+ title="ROOP DeepFake Video",
9
+ theme=themes.Soft(primary_hue="blue", secondary_hue="blue"), # Apply blue theme
10
+ ) as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  # Header with Image
12
  with gr.Row():
13
  gr.HTML(f"""