mgokg commited on
Commit
61b658f
·
verified ·
1 Parent(s): ff5d881

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -87,6 +87,7 @@ def list_of_clubs(ort):
87
 
88
  def process_ort(ort):
89
  links_text = list_of_clubs(ort)
 
90
  vereine = []
91
 
92
  for verein in links_text:
@@ -110,8 +111,8 @@ def process_ort(ort):
110
  # Create the Gradio interface
111
  with gr.Blocks(css=custom_css) as demo:
112
  with gr.Row():
113
- details_output = gr.DataFrame(label="Ausgabe", elem_id="md")
114
- #details_output = gr.Textbox(label="Ausgabe")
115
  with gr.Row():
116
  ort_input = gr.Textbox(label="Ort eingeben", placeholder="ask anything...")
117
  with gr.Row():
 
87
 
88
  def process_ort(ort):
89
  links_text = list_of_clubs(ort)
90
+ return all_links_text
91
  vereine = []
92
 
93
  for verein in links_text:
 
111
  # Create the Gradio interface
112
  with gr.Blocks(css=custom_css) as demo:
113
  with gr.Row():
114
+ #details_output = gr.DataFrame(label="Ausgabe", elem_id="md")
115
+ details_output = gr.Textbox(label="Ausgabe")
116
  with gr.Row():
117
  ort_input = gr.Textbox(label="Ort eingeben", placeholder="ask anything...")
118
  with gr.Row():