pierre-catie
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def search(query, top_k: int = 20, rescore_multiplier: int = 1, use_approx: bool
|
|
80 |
|
81 |
|
82 |
with gr.Blocks(title="Requêter Wikipedia en temps réel 🔍") as demo:
|
83 |
-
|
84 |
gr.Markdown(
|
85 |
"""
|
86 |
## Requêter Wikipedia en temps réel 🔍
|
@@ -159,6 +159,7 @@ En conclusion, ce processus permet une recherche rapide, évolutive, peu coûteu
|
|
159 |
|
160 |
query.submit(search, inputs=[query, top_k, rescore_multiplier, use_approx], outputs=[output, json])
|
161 |
search_button.click(search, inputs=[query, top_k, rescore_multiplier, use_approx], outputs=[output, json])
|
|
|
162 |
|
163 |
demo.queue()
|
164 |
demo.launch(allowed_paths=["catie(2).png"])
|
|
|
80 |
|
81 |
|
82 |
with gr.Blocks(title="Requêter Wikipedia en temps réel 🔍") as demo:
|
83 |
+
|
84 |
gr.Markdown(
|
85 |
"""
|
86 |
## Requêter Wikipedia en temps réel 🔍
|
|
|
159 |
|
160 |
query.submit(search, inputs=[query, top_k, rescore_multiplier, use_approx], outputs=[output, json])
|
161 |
search_button.click(search, inputs=[query, top_k, rescore_multiplier, use_approx], outputs=[output, json])
|
162 |
+
gr.Image("/file=catie(2).png", height=250,width=80)
|
163 |
|
164 |
demo.queue()
|
165 |
demo.launch(allowed_paths=["catie(2).png"])
|