Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,9 +27,10 @@ with gr.Blocks() as demo:
|
|
27 |
gr.Markdown(arxiv_paper.summary)
|
28 |
with gr.Row():
|
29 |
more_button = gr.Button("More like this! π")
|
30 |
-
|
|
|
31 |
#button.click(flip_image, inputs=image_input, outputs=image_output)
|
32 |
less_button = gr.Button("Less like this! π")
|
33 |
-
less_button.click(hf_data_upload(
|
34 |
|
35 |
demo.launch()
|
|
|
27 |
gr.Markdown(arxiv_paper.summary)
|
28 |
with gr.Row():
|
29 |
more_button = gr.Button("More like this! π")
|
30 |
+
# add user id value later
|
31 |
+
more_button.click(hf_data_upload(0, arxiv_paper.title, 1))
|
32 |
#button.click(flip_image, inputs=image_input, outputs=image_output)
|
33 |
less_button = gr.Button("Less like this! π")
|
34 |
+
less_button.click(hf_data_upload(0, arxiv_paper.title, 0))
|
35 |
|
36 |
demo.launch()
|