Spaces:
Sleeping
Sleeping
Yahia battach
commited on
Commit
•
491333e
1
Parent(s):
d7f6354
edit app.py
Browse files
app.py
CHANGED
@@ -310,11 +310,11 @@ if __name__ == "__main__":
|
|
310 |
fn=change_output, inputs=rank_dropdown, outputs=[open_domain_output]
|
311 |
)
|
312 |
|
313 |
-
open_domain_btn.click(
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
)
|
318 |
|
319 |
zero_shot_btn.click(
|
320 |
fn=zero_shot_classification,
|
|
|
310 |
fn=change_output, inputs=rank_dropdown, outputs=[open_domain_output]
|
311 |
)
|
312 |
|
313 |
+
# open_domain_btn.click(
|
314 |
+
# fn=lambda img, rank: open_domain_classification(img, rank, return_all=True),
|
315 |
+
# inputs=[img_input, rank_dropdown],
|
316 |
+
# outputs=[open_domain_output, sample_img, taxon_url],
|
317 |
+
# )
|
318 |
|
319 |
zero_shot_btn.click(
|
320 |
fn=zero_shot_classification,
|