Ludek Matyska commited on
Commit
0a9b724
·
1 Parent(s): 7d3769d

fix: remove get_theory_topics inputs

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -15,10 +15,9 @@ with gr.Blocks(title="Quantum Circuits Learning Programme") as demo:
15
 
16
  with gr.Tabs():
17
  with gr.TabItem("Browse Topics"):
18
- topics_input = gr.Textbox(label="Enter query (or leave empty)", placeholder="Optional: enter a search term")
19
  topics_output = gr.JSON(label="Available Topics")
20
  topics_btn = gr.Button("Load Available Topics")
21
- topics_btn.click(fn=get_theory_topics, inputs=topics_input, outputs=topics_output)
22
 
23
  with gr.TabItem("Learn Theory"):
24
  topic_input = gr.Textbox(
 
15
 
16
  with gr.Tabs():
17
  with gr.TabItem("Browse Topics"):
 
18
  topics_output = gr.JSON(label="Available Topics")
19
  topics_btn = gr.Button("Load Available Topics")
20
+ topics_btn.click(fn=get_theory_topics, outputs=topics_output)
21
 
22
  with gr.TabItem("Learn Theory"):
23
  topic_input = gr.Textbox(