justinahsu commited on
Commit
9cc3dd2
·
verified ·
1 Parent(s): 776c7ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,7 +34,7 @@ def chat_response(message, history):
34
  )
35
  return resp.choices[0].message.content
36
 
37
- demo = gr.ChatInterface(
38
  fn=chat_response,
39
  title="😡憤怒聊天機器人(Angry Chatbot)",
40
  description="試試看是否可以讓機器人情緒好一點!",
@@ -44,4 +44,4 @@ def chat_response(message, history):
44
  theme="soft",
45
  )
46
 
47
- demo.launch(share=True)
 
34
  )
35
  return resp.choices[0].message.content
36
 
37
+ demo = gr.ChatInterface(
38
  fn=chat_response,
39
  title="😡憤怒聊天機器人(Angry Chatbot)",
40
  description="試試看是否可以讓機器人情緒好一點!",
 
44
  theme="soft",
45
  )
46
 
47
+ demo.launch()