Spaces:
Runtime error
Runtime error
File size: 1,089 Bytes
72837e0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
import gradio as gr
import pandas as pd
import logging
def plagiarism_checker(authors_name):
print(authors_name)
data = {
"paper": ["Collective annotation of wikipedia entities in web text",
"Glister: Generalization based data subset selection for efficient and robust learning",
"Grad-match: Gradient matching based data subset selection for efficient deep model training"],
"paper_id": [2303.13798, 2303.13798, 2303.13798],
"paper_link": ["https://arxiv.org/pdf/2303.13798", "https://arxiv.org/pdf/2303.13798", "https://arxiv.org/pdf/2303.13798"],
"report_link" : ["", "", ""]
}
df = pd.DataFrame(data)
return df
iface = gr.Interface(
fn=plagiarism_checker,
inputs=gr.Textbox(show_copy_button=True, label="Enter Authors Name"),
outputs=gr.Dataframe(headers=["Paper Name", "Paper id", "Paper Link", "Report link"]),
title="Arxiv author's plagiarism check just by entering the arxiv author",
description="Arxiv Plagiarism Checker LLM - Enter Authors Name",
)
iface.launch()
|