Spaces:
Runtime error
Runtime error
Nitish Raghav
commited on
Commit
β’
0dd2e83
1
Parent(s):
a152362
Update app.py
Browse files
app.py
CHANGED
@@ -228,7 +228,7 @@ pre {
|
|
228 |
chatbot = gr.Chatbot(elem_id="chatbot", label="TxGpt")
|
229 |
question = gr.Textbox(placeholder="Ask something", show_label=False, value="")
|
230 |
state = gr.State([])
|
231 |
-
use_api_toggle = gr.Checkbox(label="Enable ChatGpt", default=
|
232 |
with gr.Row():
|
233 |
with gr.Column():
|
234 |
submit_btn = gr.Button(value="π Send")
|
|
|
228 |
chatbot = gr.Chatbot(elem_id="chatbot", label="TxGpt")
|
229 |
question = gr.Textbox(placeholder="Ask something", show_label=False, value="")
|
230 |
state = gr.State([])
|
231 |
+
use_api_toggle = gr.Checkbox(label="Enable ChatGpt", default=True, key="use_api")
|
232 |
with gr.Row():
|
233 |
with gr.Column():
|
234 |
submit_btn = gr.Button(value="π Send")
|