Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -159,8 +159,8 @@ def process_ort(ort):
|
|
159 |
|
160 |
#jsondata = qwen(vereine)
|
161 |
#return jsondata
|
162 |
-
data = json.loads(vereine)
|
163 |
-
df = pd.DataFrame(
|
164 |
return df
|
165 |
return vereine
|
166 |
|
@@ -193,8 +193,8 @@ def process_ort(ort):
|
|
193 |
# Create the Gradio interface
|
194 |
with gr.Blocks(css=custom_css) as demo:
|
195 |
with gr.Row():
|
196 |
-
details_output = gr.DataFrame(label="Ausgabe", elem_id="md")
|
197 |
-
|
198 |
with gr.Row():
|
199 |
ort_input = gr.Textbox(label="Ort eingeben", placeholder="ask anything...")
|
200 |
with gr.Row():
|
|
|
159 |
|
160 |
#jsondata = qwen(vereine)
|
161 |
#return jsondata
|
162 |
+
#data = json.loads(vereine)
|
163 |
+
df = pd.DataFrame(vereine)
|
164 |
return df
|
165 |
return vereine
|
166 |
|
|
|
193 |
# Create the Gradio interface
|
194 |
with gr.Blocks(css=custom_css) as demo:
|
195 |
with gr.Row():
|
196 |
+
#details_output = gr.DataFrame(label="Ausgabe", elem_id="md")
|
197 |
+
details_output = gr.Textbox(label="Ausgabe")
|
198 |
with gr.Row():
|
199 |
ort_input = gr.Textbox(label="Ort eingeben", placeholder="ask anything...")
|
200 |
with gr.Row():
|