Spaces:
Sleeping
Sleeping
Commit
·
35f1278
1
Parent(s):
a564c6f
app.py
CHANGED
@@ -107,7 +107,7 @@ with gr.Blocks(css="""
|
|
107 |
# selected_dataset_3.change(fn=req_4, inputs=selected_dataset_4, outputs=[avid_readers, avid_readers_plot])
|
108 |
|
109 |
gr.Markdown("""
|
110 |
-
## Requirement 5: "Also likes" functionality
|
111 |
|
112 |
Popular document-hosting web sites, such as Amazon, provide information about related documents based on document tracking information. One such feature is the “also likes” functionality: for a given document, identify, which other documents have been read by this document’s readers.
|
113 |
""")
|
@@ -126,8 +126,6 @@ with gr.Blocks(css="""
|
|
126 |
t5_sorting.value == 'Ascending'))
|
127 |
|
128 |
gr.Markdown("""
|
129 |
-
## Requirement 6: "Also likes" graph
|
130 |
-
|
131 |
For the above “also like” functionality, this section generates a graph that displays the relationship between the input document and all documents that have been found as “also like” documents (and only these documents)
|
132 |
""")
|
133 |
also_likes_graph = gr.Image(value=also_like_graph(globals()[f"data_{selected_dataset_5.value}"], t5_doc_uuid.value, t5_visitor_uuid.value,
|
|
|
107 |
# selected_dataset_3.change(fn=req_4, inputs=selected_dataset_4, outputs=[avid_readers, avid_readers_plot])
|
108 |
|
109 |
gr.Markdown("""
|
110 |
+
## Requirement 5 & 6: "Also likes" functionality and graph
|
111 |
|
112 |
Popular document-hosting web sites, such as Amazon, provide information about related documents based on document tracking information. One such feature is the “also likes” functionality: for a given document, identify, which other documents have been read by this document’s readers.
|
113 |
""")
|
|
|
126 |
t5_sorting.value == 'Ascending'))
|
127 |
|
128 |
gr.Markdown("""
|
|
|
|
|
129 |
For the above “also like” functionality, this section generates a graph that displays the relationship between the input document and all documents that have been found as “also like” documents (and only these documents)
|
130 |
""")
|
131 |
also_likes_graph = gr.Image(value=also_like_graph(globals()[f"data_{selected_dataset_5.value}"], t5_doc_uuid.value, t5_visitor_uuid.value,
|