Spaces:
Runtime error
Runtime error
update textbox desc
Browse files
app.py
CHANGED
@@ -112,8 +112,8 @@ with gr.Blocks() as demo:
|
|
112 |
</p>
|
113 |
</div>""")
|
114 |
with gr.Row():
|
115 |
-
question = gr.Textbox(label = 'Type in your questions about Gradio here', placeholder = 'What is the role of "every" argument in a component')
|
116 |
-
openai_api_key = gr.Textbox(type='password')
|
117 |
state = gr.State()
|
118 |
chatbot = gr.Chatbot()
|
119 |
question.submit(chat, [question, state, openai_api_key], [chatbot, state])
|
|
|
112 |
</p>
|
113 |
</div>""")
|
114 |
with gr.Row():
|
115 |
+
question = gr.Textbox(label = 'Type in your questions about Gradio here and press Enter!', placeholder = 'What is the role of "every" argument in a component')
|
116 |
+
openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
|
117 |
state = gr.State()
|
118 |
chatbot = gr.Chatbot()
|
119 |
question.submit(chat, [question, state, openai_api_key], [chatbot, state])
|