Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
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"
|
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)
|