Spaces:
Running
Running
naveenvenkatesh
commited on
Commit
•
007ac39
1
Parent(s):
f5bebd9
Update aggressive_content_finder.py
Browse files
aggressive_content_finder.py
CHANGED
@@ -90,10 +90,10 @@ class AggressiveContentFinder:
|
|
90 |
upload_button1 = gr.UploadButton(
|
91 |
"Browse File",file_types=[".txt", ".pdf", ".doc", ".docx",".json",".csv"],
|
92 |
elem_classes="uploadbutton")
|
93 |
-
aggressive_content = gr.Button("Get
|
94 |
|
95 |
with gr.Row(elem_id = "col-container",scale=0.60):
|
96 |
-
headings = gr.Textbox(label = "
|
97 |
|
98 |
upload_button1.upload(self.file_output_fnn,upload_button1,file1)
|
99 |
aggressive_content.click(self.get_aggressive_content,upload_button1,headings)
|
|
|
90 |
upload_button1 = gr.UploadButton(
|
91 |
"Browse File",file_types=[".txt", ".pdf", ".doc", ".docx",".json",".csv"],
|
92 |
elem_classes="uploadbutton")
|
93 |
+
aggressive_content = gr.Button("Get Aggressive Content",elem_classes="uploadbutton")
|
94 |
|
95 |
with gr.Row(elem_id = "col-container",scale=0.60):
|
96 |
+
headings = gr.Textbox(label = "Aggressive Content")
|
97 |
|
98 |
upload_button1.upload(self.file_output_fnn,upload_button1,file1)
|
99 |
aggressive_content.click(self.get_aggressive_content,upload_button1,headings)
|