Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -103,15 +103,15 @@ def process_ort(ort):
|
|
103 |
vereine.append(json_object)
|
104 |
|
105 |
dicts = [json.loads(item) for item in vereine]
|
106 |
-
|
107 |
-
|
108 |
-
return dicts
|
109 |
|
110 |
# Create the Gradio interface
|
111 |
with gr.Blocks(css=custom_css) as demo:
|
112 |
with gr.Row():
|
113 |
-
|
114 |
-
details_output = gr.Textbox(label="Ausgabe")
|
115 |
with gr.Row():
|
116 |
ort_input = gr.Textbox(label="Ort eingeben", placeholder="ask anything...")
|
117 |
with gr.Row():
|
|
|
103 |
vereine.append(json_object)
|
104 |
|
105 |
dicts = [json.loads(item) for item in vereine]
|
106 |
+
df = pd.DataFrame(dicts)
|
107 |
+
return df
|
108 |
+
#return dicts
|
109 |
|
110 |
# Create the Gradio interface
|
111 |
with gr.Blocks(css=custom_css) as demo:
|
112 |
with gr.Row():
|
113 |
+
details_output = gr.DataFrame(label="Ausgabe", elem_id="md")
|
114 |
+
#details_output = gr.Textbox(label="Ausgabe")
|
115 |
with gr.Row():
|
116 |
ort_input = gr.Textbox(label="Ort eingeben", placeholder="ask anything...")
|
117 |
with gr.Row():
|