Spaces:
Runtime error
Runtime error
update password type field textbox
Browse files
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])
|