mgokg commited on
Commit
5503bf5
·
verified ·
1 Parent(s): 081532c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.Textbox(label="Vereinsliste")
136
 
137
  def process_ort(ort):
138
  links_text, links = parse_links_and_content(ort)
@@ -153,7 +153,7 @@ with gr.Blocks() as demo:
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
 
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.JSON(label="Vereinsliste")
136
 
137
  def process_ort(ort):
138
  links_text, links = parse_links_and_content(ort)
 
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