larry1129 commited on
Commit
42bbfea
1 Parent(s): 886b592

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -122,12 +122,12 @@ def generate_response(instruction, input_text):
122
  iface = gr.Interface(
123
  fn=generate_response,
124
  inputs=[
125
- gr.Textbox(lines=2, placeholder="请输入指令...", label="Instruction"),
126
- gr.Textbox(lines=2, placeholder="如果有额外输入,请在此填写...", label="Input (可选)")
127
  ],
128
  outputs="text",
129
- title="WooWoof AI 交互式聊天",
130
- description="基于 LLAMA 3.1 的大语言模型,支持指令和可选输入。",
131
  allow_flagging="never"
132
  )
133
 
 
122
  iface = gr.Interface(
123
  fn=generate_response,
124
  inputs=[
125
+ gr.Textbox(lines=2, placeholder="Instruction", label="Instruction"),
126
+ gr.Textbox(lines=2, placeholder="Input", label="Input (Option)")
127
  ],
128
  outputs="text",
129
+ title="WooWoof AI",
130
+ description="Based on LLAMA 3.1 for pet related",
131
  allow_flagging="never"
132
  )
133