mgokg commited on
Commit
e9198d5
·
verified ·
1 Parent(s): c0b26e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -134,7 +134,7 @@ with gr.Blocks() as demo:
134
  with gr.Row():
135
  ort_input = gr.Textbox(label="Ort", placeholder="Gib den Namen des Ortes ein")
136
  with gr.Row():
137
- details_output = gr.JSON(label="Vereinsliste")
138
 
139
  def process_ort(ort):
140
  links_text, links = parse_links_and_content(ort)
@@ -160,7 +160,7 @@ with gr.Blocks() as demo:
160
  #return result[1]
161
  json_data = json_data.replace("```json","")
162
  json_data = json_data.replace("```","")
163
- json_data = gr.JSONn(json_data)
164
  return json_data
165
 
166
  with gr.Row():
 
134
  with gr.Row():
135
  ort_input = gr.Textbox(label="Ort", placeholder="Gib den Namen des Ortes ein")
136
  with gr.Row():
137
+ details_output = gr.Textbox(label="Vereinsliste")
138
 
139
  def process_ort(ort):
140
  links_text, links = parse_links_and_content(ort)
 
160
  #return result[1]
161
  json_data = json_data.replace("```json","")
162
  json_data = json_data.replace("```","")
163
+ json_data = gr.JSON(json_data)
164
  return json_data
165
 
166
  with gr.Row():