mgokg commited on
Commit
5ae518a
·
verified ·
1 Parent(s): 53a9d7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -86,14 +86,13 @@ def process_ort(ort):
86
  #data_dict = json.loads(vereine)
87
  # Convert dictionary to DataFrame
88
  #df = pd.DataFrame(data_dict)
89
-
90
  #return df
91
  return vereine
92
 
93
  demo = gr.Interface(
94
- fn=process_ort,
95
- outputs=gr.Markdown(label="# Ausgabe"),
96
  inputs=gr.Textbox(lines=1, placeholder="Geben Sie Ihre Suchanfrage ein..."),
 
97
  #outputs="text",
98
  title="# google websearch",
99
  description="Geben Sie eine Suchanfrage ein..."
 
86
  #data_dict = json.loads(vereine)
87
  # Convert dictionary to DataFrame
88
  #df = pd.DataFrame(data_dict)
 
89
  #return df
90
  return vereine
91
 
92
  demo = gr.Interface(
93
+ fn=process_ort,
 
94
  inputs=gr.Textbox(lines=1, placeholder="Geben Sie Ihre Suchanfrage ein..."),
95
+ outputs=gr.JSON(label="# Ausgabe"),
96
  #outputs="text",
97
  title="# google websearch",
98
  description="Geben Sie eine Suchanfrage ein..."