Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|
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 |
|