Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -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.
|
138 |
|
139 |
def process_ort(ort):
|
140 |
links_text, links = parse_links_and_content(ort)
|
@@ -160,7 +160,7 @@ with gr.Blocks() as demo:
|
|
160 |
#return result[1]
|
161 |
json_data = json_data.replace("```json","")
|
162 |
json_data = json_data.replace("```","")
|
163 |
-
json_data = gr.
|
164 |
return json_data
|
165 |
|
166 |
with gr.Row():
|
|
|
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)
|
|
|
160 |
#return result[1]
|
161 |
json_data = json_data.replace("```json","")
|
162 |
json_data = json_data.replace("```","")
|
163 |
+
json_data = gr.JSON(json_data)
|
164 |
return json_data
|
165 |
|
166 |
with gr.Row():
|