File tree 2 files changed +14
-5
lines changed
2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ def upload():
125
125
# # flash(str(similarity_ratio*100) + " percent plagiarism detected.")
126
126
# return render_template('teachers.html', data=similarity_ratio)
127
127
128
- cloud = CopyleaksCloud (Product .Education , 'bhardwaj.vishalnit@outlook .com' , 'C762D08D-6622-4634-BE1F-B9FEA8A9F098 ' )
128
+ cloud = CopyleaksCloud (Product .Education , 'vishalbhardwaj998@gmail .com' , '06BBEC2A-F27A-45DA-86AB-E515838ED1EF ' )
129
129
print ("You've got %s Copyleaks %s API credits" % (cloud .getCredits (), cloud .getProduct ())) #get credit balance
130
130
options = ProcessOptions ()
131
131
# options.setSandboxMode(True)
Original file line number Diff line number Diff line change @@ -21,9 +21,18 @@ <h1>Plagiarism checker for assignments</h1>
21
21
< input type ="file " name ="file[] " multiple ="">
22
22
< input type ="submit " value ="Check Plagiarism ">
23
23
</ form >
24
- {% if data %}
25
- < br >
26
- < h5 > {{ data }} percent plagiarism found. </ h5 >
27
- {% endif %}
24
+ < br >
25
+ < ul >
26
+ {% for result in data %}
27
+ < hr >
28
+ {% if result.URL != None %}
29
+ < li > {{ result }}</ li > < br >
30
+ {% endif %}
31
+ {% endfor %}
32
+ < hr >
33
+ </ ul >
34
+ <!-- <br>
35
+ <h5> {{ data }} percent plagiarism found. </h5> -->
36
+
28
37
29
38
{% endblock %}
You can’t perform that action at this time.
0 commit comments