Nitish Raghav commited on
Commit
0dd2e83
β€’
1 Parent(s): a152362

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=False, key="use_api")
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")