Spaces:
Runtime error
Runtime error
modified desc
Browse files
app.py
CHANGED
@@ -81,6 +81,11 @@ def segmentation_generation(input_image, c_width, n_top, n_gif_imgs):
|
|
81 |
if __name__ == "__main__":
|
82 |
inp = gr.inputs.Image(label="Input Image (Or select an example)", type="pil")
|
83 |
out = [gr.outputs.HTML(label="Output GIF"), gr.outputs.Textbox(label="Prediction")]
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
iface = gr.Interface(
|
86 |
segmentation_generation,
|
@@ -97,11 +102,7 @@ if __name__ == "__main__":
|
|
97 |
["./data/bird.jpg", 0.01, 5, 50],
|
98 |
["./data/hockey.jpg", 0.01, 5, 50]],
|
99 |
title="Reliable Post Hoc Explanations: Modeling Uncertainty in Explainability",
|
100 |
-
description =
|
101 |
-
<center>
|
102 |
-
Dylan Slack, Sophie Hilgard, Sameer Singh, and Hima Lakkaraju. NeurIPS 2021.
|
103 |
-
</center>
|
104 |
-
""",
|
105 |
article="Research paper and Github can be found [here](https://dylanslacks.website/reliable/index.html)"
|
106 |
)
|
107 |
iface.launch(enable_queue=True)
|
|
|
81 |
if __name__ == "__main__":
|
82 |
inp = gr.inputs.Image(label="Input Image (Or select an example)", type="pil")
|
83 |
out = [gr.outputs.HTML(label="Output GIF"), gr.outputs.Textbox(label="Prediction")]
|
84 |
+
description = """
|
85 |
+
<center>
|
86 |
+
Dylan Slack, Sophie Hilgard, Sameer Singh, and Hima Lakkaraju. NeurIPS 2021.
|
87 |
+
</center>
|
88 |
+
"""
|
89 |
|
90 |
iface = gr.Interface(
|
91 |
segmentation_generation,
|
|
|
102 |
["./data/bird.jpg", 0.01, 5, 50],
|
103 |
["./data/hockey.jpg", 0.01, 5, 50]],
|
104 |
title="Reliable Post Hoc Explanations: Modeling Uncertainty in Explainability",
|
105 |
+
description = description,
|
|
|
|
|
|
|
|
|
106 |
article="Research paper and Github can be found [here](https://dylanslacks.website/reliable/index.html)"
|
107 |
)
|
108 |
iface.launch(enable_queue=True)
|