Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -59,8 +59,8 @@ with gr.Blocks() as app:
|
|
59 |
recommend_button.click(recommend_anime, inputs=[query, top_k], outputs=output)
|
60 |
|
61 |
with gr.Row():
|
62 |
-
view_recommendation_button = gr.Button("View All
|
63 |
-
view_recommendation_button.click(None, None, None,
|
64 |
-
|
65 |
# Launch the app
|
66 |
app.launch(share=True)
|
|
|
59 |
recommend_button.click(recommend_anime, inputs=[query, top_k], outputs=output)
|
60 |
|
61 |
with gr.Row():
|
62 |
+
view_recommendation_button = gr.Button("View All recommendations")
|
63 |
+
view_recommendation_button.click(fn=None, inputs=None, outputs=None, js="() => { window.location.href = 'https://prashasst-will-find-your-anime.vercel.app/'; }")
|
64 |
+
|
65 |
# Launch the app
|
66 |
app.launch(share=True)
|