Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|