Spaces:
Runtime error
Runtime error
Nitish Raghav
commited on
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",
|
| 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", key="use_api")
|
| 232 |
with gr.Row():
|
| 233 |
with gr.Column():
|
| 234 |
submit_btn = gr.Button(value="🚀 Send")
|