hunyuan-t commited on
Commit
9f7082c
verified
1 Parent(s): 2cca89c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -12
app.py CHANGED
@@ -596,18 +596,7 @@ with gr.Blocks(css=css, fill_width=True) as demo:
596
  with ms.Slot("icon"):
597
  antd.Image(hunyuan_logo,
598
  preview=False)
599
- with antdx.Prompts(title=get_text(
600
- "How can I help you today?",
601
- "鏈変粈涔堟垜鑳藉府鍔╀綘鐨勫悧?"),
602
- styles={
603
- "list": {
604
- "width":
605
- '100%',
606
- },
607
- "item": {
608
- "flex": 1,
609
- },
610
- }) as prompts:
611
  for item in DEFAULT_PROMPTS:
612
  with antdx.Prompts.Item(
613
  label=item["category"]
 
596
  with ms.Slot("icon"):
597
  antd.Image(hunyuan_logo,
598
  preview=False)
599
+ with antdx.Prompts() as prompts:
 
 
 
 
 
 
 
 
 
 
 
600
  for item in DEFAULT_PROMPTS:
601
  with antdx.Prompts.Item(
602
  label=item["category"]