Update hg_app.py
Browse files
hg_app.py
CHANGED
@@ -267,7 +267,7 @@ def build_app():
|
|
267 |
check_box_rembg = gr.Checkbox(value=True, label='Remove Background')
|
268 |
|
269 |
#with gr.Tab('Text Prompt', id='tab_txt_prompt', visible=HAS_T2I) as tab_tp:
|
270 |
-
with gr.Tab('Text Prompt', id='tab_txt_prompt', visible =
|
271 |
caption = gr.Textbox(label='Text Prompt',
|
272 |
placeholder='HunyuanDiT will be used to generate image.',
|
273 |
info='Example: A 3D model of a cute cat, white background')
|
|
|
267 |
check_box_rembg = gr.Checkbox(value=True, label='Remove Background')
|
268 |
|
269 |
#with gr.Tab('Text Prompt', id='tab_txt_prompt', visible=HAS_T2I) as tab_tp:
|
270 |
+
with gr.Tab('Text Prompt', id='tab_txt_prompt', visible = False) as tab_tp:
|
271 |
caption = gr.Textbox(label='Text Prompt',
|
272 |
placeholder='HunyuanDiT will be used to generate image.',
|
273 |
info='Example: A 3D model of a cute cat, white background')
|