Spaces:
Running
on
T4
Running
on
T4
Upload gradio_app.py
Browse files- 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()
|
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=
|
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():
|