Spaces:
Runtime error
Runtime error
Upload gradio_app.py with huggingface_hub
Browse files- gradio_app.py +3 -3
gradio_app.py
CHANGED
|
@@ -250,8 +250,8 @@ def build_app():
|
|
| 250 |
"""
|
| 251 |
|
| 252 |
with gr.Blocks(theme=gr.themes.Base(), css=css, title='Hunyuan-3D-2.0') as demo:
|
| 253 |
-
if not gr.__version__.startswith('4'):
|
| 254 |
-
|
| 255 |
|
| 256 |
with gr.Row():
|
| 257 |
with gr.Column(scale=2):
|
|
@@ -392,7 +392,7 @@ if __name__ == '__main__':
|
|
| 392 |
from hy3dgen.rembg import BackgroundRemover
|
| 393 |
|
| 394 |
rmbg_worker = BackgroundRemover()
|
| 395 |
-
|
| 396 |
i23d_worker = Hunyuan3DDiTFlowMatchingPipeline.from_pretrained('tencent/Hunyuan3D-2')
|
| 397 |
texgen_worker = Hunyuan3DPaintPipeline.from_pretrained('tencent/Hunyuan3D-2')
|
| 398 |
floater_remove_worker = FloaterRemover()
|
|
|
|
| 250 |
"""
|
| 251 |
|
| 252 |
with gr.Blocks(theme=gr.themes.Base(), css=css, title='Hunyuan-3D-2.0') as demo:
|
| 253 |
+
# if not gr.__version__.startswith('4'): gr.HTML(title_html)
|
| 254 |
+
gr.HTML(title_html)
|
| 255 |
|
| 256 |
with gr.Row():
|
| 257 |
with gr.Column(scale=2):
|
|
|
|
| 392 |
from hy3dgen.rembg import BackgroundRemover
|
| 393 |
|
| 394 |
rmbg_worker = BackgroundRemover()
|
| 395 |
+
t2i_worker = HunyuanDiTPipeline('Tencent-Hunyuan--HunyuanDiT-v1.1-Diffusers-Distilled')
|
| 396 |
i23d_worker = Hunyuan3DDiTFlowMatchingPipeline.from_pretrained('tencent/Hunyuan3D-2')
|
| 397 |
texgen_worker = Hunyuan3DPaintPipeline.from_pretrained('tencent/Hunyuan3D-2')
|
| 398 |
floater_remove_worker = FloaterRemover()
|