Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ with gr.Blocks() as demo:
|
|
| 7 |
title = gr.Markdown('# Safety Checker')
|
| 8 |
with gr.Row():
|
| 9 |
src_image = gr.Image(label="Source", sources="upload", interactive=True, type="pil")
|
| 10 |
-
result = gr.Textbox(label="
|
| 11 |
|
| 12 |
src_image.change(
|
| 13 |
fn=fn.check,
|
|
|
|
| 7 |
title = gr.Markdown('# Safety Checker')
|
| 8 |
with gr.Row():
|
| 9 |
src_image = gr.Image(label="Source", sources="upload", interactive=True, type="pil")
|
| 10 |
+
result = gr.Textbox(label="Has NSFW", interactive=False)
|
| 11 |
|
| 12 |
src_image.change(
|
| 13 |
fn=fn.check,
|