Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -132,7 +132,7 @@ with gr.Blocks() as demo:
|
|
132 |
with gr.Row():
|
133 |
ort_input = gr.Textbox(label="Ort", placeholder="Gib den Namen des Ortes ein")
|
134 |
with gr.Row():
|
135 |
-
details_output = gr.
|
136 |
|
137 |
def process_ort(ort):
|
138 |
links_text, links = parse_links_and_content(ort)
|
@@ -152,10 +152,11 @@ with gr.Blocks() as demo:
|
|
152 |
#values = list(result.values())
|
153 |
# Return the value at index 1
|
154 |
json_data =result[1][0]
|
155 |
-
|
|
|
156 |
#return result
|
157 |
#return result[1]
|
158 |
-
return
|
159 |
|
160 |
with gr.Row():
|
161 |
clearbutton = gr.Button("Clear")
|
|
|
132 |
with gr.Row():
|
133 |
ort_input = gr.Textbox(label="Ort", placeholder="Gib den Namen des Ortes ein")
|
134 |
with gr.Row():
|
135 |
+
details_output = gr.Textbox(label="Vereinsliste")
|
136 |
|
137 |
def process_ort(ort):
|
138 |
links_text, links = parse_links_and_content(ort)
|
|
|
152 |
#values = list(result.values())
|
153 |
# Return the value at index 1
|
154 |
json_data =result[1][0]
|
155 |
+
json_dat = json_data[1]
|
156 |
+
json_dat=gr.Markdown()
|
157 |
#return result
|
158 |
#return result[1]
|
159 |
+
return json_dat
|
160 |
|
161 |
with gr.Row():
|
162 |
clearbutton = gr.Button("Clear")
|