hahongchul commited on
Commit
b6d78e4
·
verified ·
1 Parent(s): 09b2c1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -30,13 +30,10 @@ def echo(message, history):
30
 
31
  demo = gr.ChatInterface(
32
  fn=echo,
33
- type="messages", # 최신 포맷
34
  chatbot=gr.Chatbot(type="messages", height=420, show_copy_button=True),
35
- retry_btn="다시 생성",
36
- undo_btn="되돌리기",
37
- clear_btn="대화 지우기",
38
  autofocus=True,
39
  )
40
 
41
  if __name__ == "__main__":
42
- demo.launch(server_name="0.0.0.0", server_port=7860)
 
30
 
31
  demo = gr.ChatInterface(
32
  fn=echo,
33
+ type="messages", # 메시지 포맷 맞추기
34
  chatbot=gr.Chatbot(type="messages", height=420, show_copy_button=True),
 
 
 
35
  autofocus=True,
36
  )
37
 
38
  if __name__ == "__main__":
39
+ demo.launch(server_name="0.0.0.0", server_port=7860)