Spaces:
Running
Running
robertselvam
commited on
Commit
•
9237f2d
1
Parent(s):
d087090
Update aggressive_content_finder.py
Browse files
aggressive_content_finder.py
CHANGED
@@ -84,7 +84,7 @@ class AggressiveContentFinder:
|
|
84 |
|
85 |
def gradio_interface(self):
|
86 |
with gr.Blocks(css="style.css",theme='xiaobaiyuan/theme_brief') as demo:
|
87 |
-
|
88 |
# with gr.Column(elem_id = "col-container",scale=0.80):
|
89 |
# file1 = gr.File(label="File",elem_classes="filenameshow")
|
90 |
|
@@ -92,7 +92,7 @@ class AggressiveContentFinder:
|
|
92 |
# upload_button1 = gr.UploadButton(
|
93 |
# "Browse File",file_types=[".txt", ".pdf", ".doc", ".docx",".json",".csv"],
|
94 |
# elem_classes="uploadbutton")
|
95 |
-
|
96 |
|
97 |
with gr.Row(elem_id = "col-container",scale=0.60):
|
98 |
headings = gr.Textbox(label = "Aggressive Content")
|
|
|
84 |
|
85 |
def gradio_interface(self):
|
86 |
with gr.Blocks(css="style.css",theme='xiaobaiyuan/theme_brief') as demo:
|
87 |
+
with gr.Row(elem_id = "col-container",scale=0.80):
|
88 |
# with gr.Column(elem_id = "col-container",scale=0.80):
|
89 |
# file1 = gr.File(label="File",elem_classes="filenameshow")
|
90 |
|
|
|
92 |
# upload_button1 = gr.UploadButton(
|
93 |
# "Browse File",file_types=[".txt", ".pdf", ".doc", ".docx",".json",".csv"],
|
94 |
# elem_classes="uploadbutton")
|
95 |
+
aggressive_content = gr.Button("Get Aggressive Content",elem_classes="uploadbutton")
|
96 |
|
97 |
with gr.Row(elem_id = "col-container",scale=0.60):
|
98 |
headings = gr.Textbox(label = "Aggressive Content")
|