AdityaMahimkar commited on
Commit
1cb1ebf
1 Parent(s): b38f496

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,5 +44,5 @@ def plagiarismChecker(orig, plag):
44
  score=sum_lcs/len(tokens_p)
45
  return score*100
46
 
47
- plagiarismUI = gr.Interface(fn=plagiarismChecker, inputs=[gr.inputs.Textbox(lines=10, label='Original'), gr.inputs.Textbox(lines=10, label='Plagiarised')], outputs=gr.outputs.Textbox(label='Plagiarism Level'), title="Plagiarism Checker", theme='dark-peach')
48
  plagiarismUI.launch(inbrowser=False)
 
44
  score=sum_lcs/len(tokens_p)
45
  return score*100
46
 
47
+ plagiarismUI = gr.Interface(fn=plagiarismChecker, inputs=[gr.inputs.Textbox(lines=10, label='Text 1'), gr.inputs.Textbox(lines=10, label='Text 2')], outputs=gr.outputs.Textbox(label='Plagiarism Level'), title="Plagiarism Checker", theme='dark-peach')
48
  plagiarismUI.launch(inbrowser=False)