Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -136,11 +136,12 @@ with gr.Blocks() as demo:
|
|
136 |
with gr.Row():
|
137 |
ort_input = gr.Textbox(label="Ort", placeholder="Gib den Namen des Ortes ein")
|
138 |
with gr.Row():
|
139 |
-
details_output = gr.DataFrame(label="Ausgabe")
|
140 |
-
|
141 |
|
142 |
def process_ort(ort):
|
143 |
links_text, links = parse_links_and_content(ort)
|
|
|
144 |
contact_details = scrape_links(links)
|
145 |
|
146 |
from gradio_client import Client
|
|
|
136 |
with gr.Row():
|
137 |
ort_input = gr.Textbox(label="Ort", placeholder="Gib den Namen des Ortes ein")
|
138 |
with gr.Row():
|
139 |
+
#details_output = gr.DataFrame(label="Ausgabe")
|
140 |
+
details_output = gr.Textbox(label="Ausgabe", value = f"\n\n\n\n")
|
141 |
|
142 |
def process_ort(ort):
|
143 |
links_text, links = parse_links_and_content(ort)
|
144 |
+
return links
|
145 |
contact_details = scrape_links(links)
|
146 |
|
147 |
from gradio_client import Client
|