mgokg commited on
Commit
0be39ee
·
verified ·
1 Parent(s): a18700c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,7 +36,7 @@ def ask_llm(ort):
36
  return f"Error in response generation: {str(e)}"
37
 
38
  def parse_links_and_content(ort):
39
- details_output.update(value="# Bitte warten, der Vorgang kann einige Minuten dauern...")
40
  base_url = "https://vereine-in-deutschland.net"
41
  all_links = []
42
  all_links_text = []
@@ -134,7 +134,7 @@ with gr.Blocks() as demo:
134
  with gr.Row():
135
  ort_input = gr.Textbox(label="Ort", placeholder="Gib den Namen des Ortes ein")
136
  with gr.Row():
137
- details_output = gr.Textbox(label="Vereinsliste", interactive = True)
138
 
139
  def process_ort(ort):
140
  links_text, links = parse_links_and_content(ort)
 
36
  return f"Error in response generation: {str(e)}"
37
 
38
  def parse_links_and_content(ort):
39
+
40
  base_url = "https://vereine-in-deutschland.net"
41
  all_links = []
42
  all_links_text = []
 
134
  with gr.Row():
135
  ort_input = gr.Textbox(label="Ort", placeholder="Gib den Namen des Ortes ein")
136
  with gr.Row():
137
+ details_output = gr.Textbox(label="Vereinsliste")
138
 
139
  def process_ort(ort):
140
  links_text, links = parse_links_and_content(ort)