mgokg commited on
Commit
b4b488f
·
verified ·
1 Parent(s): 3754971

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -105,12 +105,12 @@ with gr.Blocks() as demo:
105
  gr.Markdown("# ")
106
  with gr.Row():
107
  ort_input = gr.Textbox(label="Ort", placeholder="Gib den Namen des Ortes ein")
108
- links_output = gr.JSON(label="Vereinsliste")
109
  #links_output = gr.DataFrame(label="Ergebnisse")
110
  #json_output = gr.JSON(label="Ergebnisse")
111
 
112
  def process_ort(ort):
113
- antwort = ask_llm[ort]
114
  antwort=gr.Markdown()
115
  return antwort
116
  links = parse_links_and_content(ort)
 
105
  gr.Markdown("# ")
106
  with gr.Row():
107
  ort_input = gr.Textbox(label="Ort", placeholder="Gib den Namen des Ortes ein")
108
+ links_output = gr.Textbox(label="Vereinsliste")
109
  #links_output = gr.DataFrame(label="Ergebnisse")
110
  #json_output = gr.JSON(label="Ergebnisse")
111
 
112
  def process_ort(ort):
113
+ antwort = ask_llm(ort)
114
  antwort=gr.Markdown()
115
  return antwort
116
  links = parse_links_and_content(ort)