Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -269,7 +269,9 @@ with gr.Blocks(css=MODEL_SELECTION_CSS, theme='gradio/soft') as demo:
|
|
269 |
for channel in channels[1:]:
|
270 |
channel_btns.append(gr.Button(channel, elem_classes=["custom-btn"]))
|
271 |
|
272 |
-
internet_option = gr.Radio(
|
|
|
|
|
273 |
serper_api_key = gr.Textbox(
|
274 |
value= os.getenv("SERPER_API_KEY"),
|
275 |
placeholder="Get one by visiting serper.dev",
|
|
|
269 |
for channel in channels[1:]:
|
270 |
channel_btns.append(gr.Button(channel, elem_classes=["custom-btn"]))
|
271 |
|
272 |
+
internet_option = gr.Radio(
|
273 |
+
choices=["on", "off"], value="off",
|
274 |
+
label="internet mode", elem_id="internet_option_radio")
|
275 |
serper_api_key = gr.Textbox(
|
276 |
value= os.getenv("SERPER_API_KEY"),
|
277 |
placeholder="Get one by visiting serper.dev",
|