Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ def ask_question(message, history, selected_titles):
|
|
137 |
return combined_answer.strip()
|
138 |
|
139 |
# Gradio UI
|
140 |
-
with gr.Blocks(
|
141 |
with gr.Tab("🌐 Index Web Page"):
|
142 |
url = gr.Textbox(label="Web Page URL")
|
143 |
title = gr.Textbox(label="Title for Web Page")
|
|
|
137 |
return combined_answer.strip()
|
138 |
|
139 |
# Gradio UI
|
140 |
+
with gr.Blocks() as demo:
|
141 |
with gr.Tab("🌐 Index Web Page"):
|
142 |
url = gr.Textbox(label="Web Page URL")
|
143 |
title = gr.Textbox(label="Title for Web Page")
|