Update hg_app.py
Browse files
hg_app.py
CHANGED
@@ -269,7 +269,8 @@ def build_app():
|
|
269 |
with gr.Tab('Text Prompt', id='tab_txt_prompt', visible=HAS_T2I) as tab_tp:
|
270 |
caption = gr.Textbox(label='Text Prompt',
|
271 |
placeholder='HunyuanDiT will be used to generate image.',
|
272 |
-
info='Example: A 3D model of a cute cat, white background')
|
|
|
273 |
|
274 |
with gr.Accordion('Advanced Options', open=False):
|
275 |
num_steps = gr.Slider(maximum=50, minimum=20, value=50, step=1, label='Inference Steps')
|
@@ -306,7 +307,8 @@ def build_app():
|
|
306 |
with gr.Tab('Text to 3D Gallery', id='tab_txt_gallery', visible=HAS_T2I) as tab_gt:
|
307 |
with gr.Row():
|
308 |
gr.Examples(examples=example_ts, inputs=[caption],
|
309 |
-
label="Text Prompts", examples_per_page=18)
|
|
|
310 |
|
311 |
if not HAS_TEXTUREGEN:
|
312 |
gr.HTML("""
|
|
|
269 |
with gr.Tab('Text Prompt', id='tab_txt_prompt', visible=HAS_T2I) as tab_tp:
|
270 |
caption = gr.Textbox(label='Text Prompt',
|
271 |
placeholder='HunyuanDiT will be used to generate image.',
|
272 |
+
info='Example: A 3D model of a cute cat, white background')
|
273 |
+
'''
|
274 |
|
275 |
with gr.Accordion('Advanced Options', open=False):
|
276 |
num_steps = gr.Slider(maximum=50, minimum=20, value=50, step=1, label='Inference Steps')
|
|
|
307 |
with gr.Tab('Text to 3D Gallery', id='tab_txt_gallery', visible=HAS_T2I) as tab_gt:
|
308 |
with gr.Row():
|
309 |
gr.Examples(examples=example_ts, inputs=[caption],
|
310 |
+
label="Text Prompts", examples_per_page=18)
|
311 |
+
'''
|
312 |
|
313 |
if not HAS_TEXTUREGEN:
|
314 |
gr.HTML("""
|