Spaces:
Runtime error
Runtime error
Upload gradio_app.py
Browse files- gradio_app.py +6 -1
gradio_app.py
CHANGED
|
@@ -31,6 +31,11 @@ from hy3dgen.shapegen.utils import logger
|
|
| 31 |
|
| 32 |
MAX_SEED = 1e7
|
| 33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
if True:
|
| 35 |
import os
|
| 36 |
import spaces
|
|
@@ -342,7 +347,7 @@ def build_app():
|
|
| 342 |
"""
|
| 343 |
|
| 344 |
#gr.themes.Base()
|
| 345 |
-
with gr.Blocks(theme=
|
| 346 |
gr.HTML(title_html)
|
| 347 |
|
| 348 |
with gr.Row():
|
|
|
|
| 31 |
|
| 32 |
MAX_SEED = 1e7
|
| 33 |
|
| 34 |
+
custom_theme = gr.themes.Base().set(
|
| 35 |
+
background_fill_primary="#1e1e1e",
|
| 36 |
+
color_text_primary="#ffffff",
|
| 37 |
+
)
|
| 38 |
+
|
| 39 |
if True:
|
| 40 |
import os
|
| 41 |
import spaces
|
|
|
|
| 347 |
"""
|
| 348 |
|
| 349 |
#gr.themes.Base()
|
| 350 |
+
with gr.Blocks(theme=custom_theme, title='3DMarket-3D-2.0', analytics_enabled=False, css=custom_css) as demo:
|
| 351 |
gr.HTML(title_html)
|
| 352 |
|
| 353 |
with gr.Row():
|