Update space
Browse files
app.py
CHANGED
|
@@ -148,7 +148,7 @@ with gr.Blocks() as demo:
|
|
| 148 |
value="https://id2223kth.github.io/schedule/",
|
| 149 |
label="Table URL"
|
| 150 |
)
|
| 151 |
-
|
| 152 |
extract_btn = gr.Button("Extract Table")
|
| 153 |
|
| 154 |
# Dropdown for selecting topic
|
|
@@ -181,7 +181,7 @@ with gr.Blocks() as demo:
|
|
| 181 |
extract_btn.click(
|
| 182 |
fn=update_interface,
|
| 183 |
inputs=[url_input],
|
| 184 |
-
outputs=[
|
| 185 |
)
|
| 186 |
|
| 187 |
# Prepare topic handler
|
|
|
|
| 148 |
value="https://id2223kth.github.io/schedule/",
|
| 149 |
label="Table URL"
|
| 150 |
)
|
| 151 |
+
table_output = gr.HTML(label="Extracted Table")
|
| 152 |
extract_btn = gr.Button("Extract Table")
|
| 153 |
|
| 154 |
# Dropdown for selecting topic
|
|
|
|
| 181 |
extract_btn.click(
|
| 182 |
fn=update_interface,
|
| 183 |
inputs=[url_input],
|
| 184 |
+
outputs=[topic_dropdown, table_output]
|
| 185 |
)
|
| 186 |
|
| 187 |
# Prepare topic handler
|