Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -136,7 +136,8 @@ 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 |
def process_ort(ort):
|
142 |
links_text, links = parse_links_and_content(ort)
|
@@ -169,7 +170,7 @@ with gr.Blocks() as demo:
|
|
169 |
csv_data = csv_buffer.getvalue()
|
170 |
|
171 |
print(csv_data)
|
172 |
-
|
173 |
return df
|
174 |
|
175 |
with gr.Row():
|
|
|
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", value = f"\n\n\n\n")
|
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)
|
|
|
170 |
csv_data = csv_buffer.getvalue()
|
171 |
|
172 |
print(csv_data)
|
173 |
+
return csv_data
|
174 |
return df
|
175 |
|
176 |
with gr.Row():
|