ysharma HF staff commited on
Commit
1335864
1 Parent(s): 7fdb71a

update password type field textbox

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ with gr.Blocks() as demo:
95
  """)
96
  with gr.Row():
97
  question = gr.Textbox(label = 'Type in your questions about Gradio here', placeholder = 'What is the role of "every" argument in a component')
98
- openai_api_key = gr.Textbox()
99
  state = gr.State()
100
  chatbot = gr.Chatbot()
101
  question.submit(chat, [question, state, openai_api_key], [chatbot, state])
 
95
  """)
96
  with gr.Row():
97
  question = gr.Textbox(label = 'Type in your questions about Gradio here', placeholder = 'What is the role of "every" argument in a component')
98
+ openai_api_key = gr.Textbox(type='password')
99
  state = gr.State()
100
  chatbot = gr.Chatbot()
101
  question.submit(chat, [question, state, openai_api_key], [chatbot, state])