Spaces:
Sleeping
Sleeping
Commit ·
f5bebd9
1
Parent(s): df6541f
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,22 +77,6 @@ with gr.Blocks(css="style.css",theme='xiaobaiyuan/theme_brief') as demo:
|
|
| 77 |
|
| 78 |
with gr.TabItem("Aggressive Content"):
|
| 79 |
agg= AggressiveContentFinder()
|
| 80 |
-
agg.gradio_interface()
|
| 81 |
-
# with gr.Row(elem_id = "col-container",scale=0.80):
|
| 82 |
-
# with gr.Column(elem_id = "col-container",scale=0.80):
|
| 83 |
-
# file = gr.File(label="File",elem_classes="filenameshow")
|
| 84 |
-
|
| 85 |
-
# with gr.Column(elem_id = "col-container",scale=0.20):
|
| 86 |
-
# upload_button1 = gr.UploadButton(
|
| 87 |
-
# "Browse File",file_types=[".txt", ".pdf", ".doc", ".docx",".json",".csv"],
|
| 88 |
-
# elem_classes="uploadbutton")
|
| 89 |
-
# headings_btn = gr.Button("Get Headings",elem_classes="uploadbutton")
|
| 90 |
-
|
| 91 |
-
# with gr.Row(elem_id = "col-container",scale=0.60):
|
| 92 |
-
# headings = gr.Textbox(label = "Headings")
|
| 93 |
-
|
| 94 |
-
# upload_button1.upload(file_output_fn,upload_button1,file)
|
| 95 |
-
# headings_btn.click(HeadingsExtractor.extarct_text,upload_button1,headings)
|
| 96 |
|
| 97 |
-
|
| 98 |
demo.launch(debug=True)
|
|
|
|
| 77 |
|
| 78 |
with gr.TabItem("Aggressive Content"):
|
| 79 |
agg= AggressiveContentFinder()
|
| 80 |
+
agg.gradio_interface()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
|
|
|
|
| 82 |
demo.launch(debug=True)
|