mgokg commited on
Commit
d0f6efc
·
verified ·
1 Parent(s): e0ed9b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -141,7 +141,7 @@ with gr.Blocks() as demo:
141
  with gr.Row():
142
  ort_input = gr.Textbox(label="Ort", placeholder="Gib den Namen des Ortes ein")
143
  with gr.Row():
144
- details_output = gr.Dataframe()
145
 
146
  def process_ort(ort):
147
  links_text, links = parse_links_and_content(ort)
@@ -174,7 +174,7 @@ with gr.Blocks() as demo:
174
 
175
  # DataFrame in eine CSV-Datei konvertieren
176
  #df.to_csv('daten.csv', index=False)
177
- return df
178
  return json_data
179
 
180
 
 
141
  with gr.Row():
142
  ort_input = gr.Textbox(label="Ort", placeholder="Gib den Namen des Ortes ein")
143
  with gr.Row():
144
+ details_output = gr.Textbox()
145
 
146
  def process_ort(ort):
147
  links_text, links = parse_links_and_content(ort)
 
174
 
175
  # DataFrame in eine CSV-Datei konvertieren
176
  #df.to_csv('daten.csv', index=False)
177
+ #return df
178
  return json_data
179
 
180