mgokg commited on
Commit
e6fea94
·
verified ·
1 Parent(s): cbf6c31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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(data)
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
- #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():
 
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():