NicolasG2523 commited on
Commit
2cc83ac
·
verified ·
1 Parent(s): cf64306

Upload gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +2 -8
gradio_app.py CHANGED
@@ -31,13 +31,7 @@ from hy3dgen.shapegen.utils import logger
31
 
32
  MAX_SEED = 1e7
33
 
34
- custom_theme = gr.themes.Base().set(
35
- **{
36
- "background-fill-primary": "#1e1e1e", # Dark background
37
- "color-text-primary": "#ffffff", # White text
38
- }
39
- )
40
-
41
 
42
  if True:
43
  import os
@@ -350,7 +344,7 @@ def build_app():
350
  """
351
 
352
  #gr.themes.Base()
353
- with gr.Blocks(theme=custom_theme, title='3DMarket-3D-2.0', analytics_enabled=False, css=custom_css) as demo:
354
  gr.HTML(title_html)
355
 
356
  with gr.Row():
 
31
 
32
  MAX_SEED = 1e7
33
 
34
+ custom_theme = gr.themes.Base()
 
 
 
 
 
 
35
 
36
  if True:
37
  import os
 
344
  """
345
 
346
  #gr.themes.Base()
347
+ with gr.Blocks(theme=gr.themes.Base(), title='3DMarket-3D-2.0', analytics_enabled=False, css=custom_css) as demo:
348
  gr.HTML(title_html)
349
 
350
  with gr.Row():