zxcgqq commited on
Commit
e648158
·
1 Parent(s): 45702a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -10,6 +10,12 @@ def run_text(text, state):
10
  with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
11
  with gr.Row():
12
  lang = gr.Radio(choices=['ma', 'mb'], value='ma', label='zxc')
 
 
 
 
 
 
13
  chatbot = gr.Chatbot(elem_id="chatbot",show_label=False)
14
  state = gr.State([])
15
  with gr.Row() as input_raws:
 
10
  with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
11
  with gr.Row():
12
  lang = gr.Radio(choices=['ma', 'mb'], value='ma', label='zxc')
13
+ openai_api_key_textbox = gr.Textbox(
14
+ placeholder="Paste your OpenAI API key here to start Visual ChatGPT(sk-...) and press Enter ↵️",
15
+ show_label=False,
16
+ lines=1,
17
+ type="password",
18
+ )
19
  chatbot = gr.Chatbot(elem_id="chatbot",show_label=False)
20
  state = gr.State([])
21
  with gr.Row() as input_raws: