소스 검색

Name the input box

oobabooga 3 년 전
부모
커밋
c3a0d00715
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      server.py

+ 1 - 1
server.py

@@ -192,7 +192,7 @@ elif args.chat:
                 context = gr.Textbox(value='This is a conversation between two people.', lines=2, label='Context')
             with gr.Column():
                 display1 = gr.Chatbot()
-                textbox = gr.Textbox(lines=2)
+                textbox = gr.Textbox(lines=2, label='Input')
                 btn = gr.Button("Generate")
                 btn2 = gr.Button("Clear history")