mgokg commited on
Commit
33b764f
·
verified ·
1 Parent(s): 85718b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -132,6 +132,8 @@ with gr.Blocks() as suche:
132
  search_output = gr.Textbox(label="Ähnliche Dokumente")
133
  with gr.Row():
134
  search_button = gr.Button("Suchen")
 
 
135
 
136
  # Erstelle die Gradio-Schnittstelle
137
  with gr.Blocks() as demo:
 
132
  search_output = gr.Textbox(label="Ähnliche Dokumente")
133
  with gr.Row():
134
  search_button = gr.Button("Suchen")
135
+ search_button.click(search_similar_documents, inputs=prompt_input, outputs=search_output)
136
+
137
 
138
  # Erstelle die Gradio-Schnittstelle
139
  with gr.Blocks() as demo: