thugCodeNinja commited on
Commit
d2552db
·
verified ·
1 Parent(s): 207bc33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,5 +61,5 @@ outputs = [gr.Textbox(label="Processed text"), gr.Textbox(label="Probability"),
61
  title = "Group 2- ChatGPT text detection module"
62
  description = '''Please upload text files and text input responsibly and await the explainable results. The approach in place includes finetuning a Roberta model for text classification.Once the classifications are done the decision is exaplined thorugh the SHAP text plot.
63
  The probability is particularly explained by the attention plots through SHAP'''
64
- gr.Interface(fn=process_text,title=title,descriptioon=description, inputs=[text_input, file_input], outputs=outputs).launch()
65
 
 
61
  title = "Group 2- ChatGPT text detection module"
62
  description = '''Please upload text files and text input responsibly and await the explainable results. The approach in place includes finetuning a Roberta model for text classification.Once the classifications are done the decision is exaplined thorugh the SHAP text plot.
63
  The probability is particularly explained by the attention plots through SHAP'''
64
+ gr.Interface(fn=process_text,title=title,description=description, inputs=[text_input, file_input], outputs=outputs).launch()
65