Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -311,6 +311,8 @@ with gr.Blocks(title="Promptable Content Moderation") as app:
|
|
311 |
info="Moondream can moderate anything that you can describe in natural language",
|
312 |
)
|
313 |
|
|
|
|
|
314 |
gr.Examples(
|
315 |
examples=[
|
316 |
["examples/cig.mp4", "cigarette"],
|
@@ -322,8 +324,6 @@ with gr.Blocks(title="Promptable Content Moderation") as app:
|
|
322 |
label="Try these examples",
|
323 |
)
|
324 |
|
325 |
-
process_btn = gr.Button("Process Video", variant="primary")
|
326 |
-
|
327 |
with gr.Accordion("Advanced Settings", open=False):
|
328 |
box_style_input = gr.Radio(
|
329 |
choices=["censor", "bounding-box", "hitmarker", "sam", "sam-fast", "fuzzy-blur", "pixelated-blur", "intense-pixelated-blur", "obfuscated-pixel"],
|
|
|
311 |
info="Moondream can moderate anything that you can describe in natural language",
|
312 |
)
|
313 |
|
314 |
+
process_btn = gr.Button("Process Video", variant="primary")
|
315 |
+
|
316 |
gr.Examples(
|
317 |
examples=[
|
318 |
["examples/cig.mp4", "cigarette"],
|
|
|
324 |
label="Try these examples",
|
325 |
)
|
326 |
|
|
|
|
|
327 |
with gr.Accordion("Advanced Settings", open=False):
|
328 |
box_style_input = gr.Radio(
|
329 |
choices=["censor", "bounding-box", "hitmarker", "sam", "sam-fast", "fuzzy-blur", "pixelated-blur", "intense-pixelated-blur", "obfuscated-pixel"],
|