dylanmeca commited on
Commit
b3bebb6
·
1 Parent(s): a87eb00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ with block:
42
  """)
43
  api_key = gr.Textbox(type="password", label="Enter your OpenAI API key here", placeholder="sk-...0VYO")
44
  system = gr.Textbox(label="System message", placeholder="You are a helpful assistant.")
45
- sub = gr.Button("Send")
46
  sub.click(chatgpt.system_message, inputs=[system])
47
  chatbot = gr.Chatbot()
48
  message = gr.Textbox(label="Message", placeholder="Hi, how are things ?")
 
42
  """)
43
  api_key = gr.Textbox(type="password", label="Enter your OpenAI API key here", placeholder="sk-...0VYO")
44
  system = gr.Textbox(label="System message", placeholder="You are a helpful assistant.")
45
+ sub = gr.Button("Send system message")
46
  sub.click(chatgpt.system_message, inputs=[system])
47
  chatbot = gr.Chatbot()
48
  message = gr.Textbox(label="Message", placeholder="Hi, how are things ?")