refactor: comment out simple prediction interface and restore community forensics preview in demo
Browse files
app.py
CHANGED
@@ -464,14 +464,14 @@ community_forensics_preview = gr.Interface(
|
|
464 |
# api_name="leaderboard"
|
465 |
# )
|
466 |
|
467 |
-
simple_predict_interface = gr.Interface(
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
)
|
475 |
|
476 |
noise_estimation_interface = gr.Interface(
|
477 |
fn=noise_estimation,
|
@@ -574,7 +574,7 @@ augmentation_tool_interface = gr.Interface(
|
|
574 |
demo = gr.TabbedInterface(
|
575 |
[
|
576 |
detection_model_eval_playground,
|
577 |
-
|
578 |
noise_estimation_interface,
|
579 |
bit_plane_interface,
|
580 |
ela_interface,
|
|
|
464 |
# api_name="leaderboard"
|
465 |
# )
|
466 |
|
467 |
+
# simple_predict_interface = gr.Interface(
|
468 |
+
# fn=simple_prediction,
|
469 |
+
# inputs=gr.Image(type="filepath"),
|
470 |
+
# outputs=gr.Text(),
|
471 |
+
# title="Quick and simple prediction by our strongest model.",
|
472 |
+
# description="No ensemble, no context, no agents, just a quick and simple prediction by our strongest model.",
|
473 |
+
# api_name="simple_predict"
|
474 |
+
# )
|
475 |
|
476 |
noise_estimation_interface = gr.Interface(
|
477 |
fn=noise_estimation,
|
|
|
574 |
demo = gr.TabbedInterface(
|
575 |
[
|
576 |
detection_model_eval_playground,
|
577 |
+
community_forensics_preview,
|
578 |
noise_estimation_interface,
|
579 |
bit_plane_interface,
|
580 |
ela_interface,
|