Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -87,6 +87,5 @@ def process_text(input_text):
|
|
87 |
text_input = gr.Textbox(label="Enter text")
|
88 |
outputs = [gr.Textbox(label="Processed text"), gr.Textbox(label="Probability"), gr.Textbox(label="Label"),gr.Dataframe(label="Similar Articles", headers=["Link", "Similarity"],row_count=5)]
|
89 |
title = "Group 2- ChatGPT text detection module"
|
90 |
-
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
|
91 |
-
The probability is particularly explained by the attention plots through SHAP'''
|
92 |
gr.Interface(fn=process_text,title=title,description=description, inputs=[text_input], outputs=outputs).launch()
|
|
|
87 |
text_input = gr.Textbox(label="Enter text")
|
88 |
outputs = [gr.Textbox(label="Processed text"), gr.Textbox(label="Probability"), gr.Textbox(label="Label"),gr.Dataframe(label="Similar Articles", headers=["Link", "Similarity"],row_count=5)]
|
89 |
title = "Group 2- ChatGPT text detection module"
|
90 |
+
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 most similar articles are presented along with the alleged similarity'''
|
|
|
91 |
gr.Interface(fn=process_text,title=title,description=description, inputs=[text_input], outputs=outputs).launch()
|