yfyangd commited on
Commit
d5da699
·
1 Parent(s): 5b69f9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -7
app.py CHANGED
@@ -63,11 +63,20 @@ def similarity(A,B):
63
 
64
  return "論文相似度: "+str(round(splitWord_PersionSimlaryty(str_L,str_Y)*100,2))+"%"
65
 
66
- title="論文相似度比較"
67
- description="以下請輸入2篇論文, 格式限定pdf"
 
68
 
69
- gr.Interface(similarity,["file", "file"],outputs='text',title=title,description=description,
70
- examples=[
71
- ["Lin.jpg", "被懷疑的論文"],
72
- ["Yu.jpg", "被抄襲的論文"],
73
- ],).launch()
 
 
 
 
 
 
 
 
 
63
 
64
  return "論文相似度: "+str(round(splitWord_PersionSimlaryty(str_L,str_Y)*100,2))+"%"
65
 
66
+ title="Paper Similarity"
67
+ description='''
68
+ National Taiwan University on Tuesday (August 9) announced a decision to rescind a master's degree it gave to Lin Chih-chien (林智堅) in 2017, citing plagiarism after a meeting by the school's academic ethics committee.
69
 
70
+ "The act sullied the reputation of National Taiwan University...and the school will reinforce the importance of academic integrity and ethics, not letting it happen again."
71
+
72
+ With this in mind, we proposed machine learning method to analyze the similarity between 2 papers. Provide an objective indicator for your reference.
73
+
74
+ ### 以下請輸入2篇論文, 格式限定pdf
75
+ #### 懷疑抄襲的論文
76
+ <img src="Lin.jpg" width="100%" img style="float: left;">
77
+ #### 被抄襲的論文
78
+ <img src="Yu.jpg" width="100%" img style="float: left;">
79
+
80
+ '''
81
+
82
+ demo = gr.Interface(similarity,["file", "file"],outputs='text',title=title,description=description).launch()