Shreyas094 commited on
Commit
ed8b307
·
verified ·
1 Parent(s): 5b60645

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -407,7 +407,7 @@ demo = gr.ChatInterface(
407
  gr.Slider(minimum=0.1, maximum=1.0, value=0.2, step=0.1, label="Temperature"),
408
  gr.Slider(minimum=1, maximum=5, value=1, step=1, label="Number of API Calls"),
409
  use_web_search,
410
- gr.Boolean(value=False, label="Is Interrupted"), # Flag to indicate interruption
411
  gr.Textbox(label="Partial Response"), # Store partial response
412
  ],
413
  title="AI-powered Web Search and PDF Chat Assistant",
 
407
  gr.Slider(minimum=0.1, maximum=1.0, value=0.2, step=0.1, label="Temperature"),
408
  gr.Slider(minimum=1, maximum=5, value=1, step=1, label="Number of API Calls"),
409
  use_web_search,
410
+ gr.Checkbox(value=False, label="Is Interrupted"), # Flag to indicate interruption
411
  gr.Textbox(label="Partial Response"), # Store partial response
412
  ],
413
  title="AI-powered Web Search and PDF Chat Assistant",