Spaces:
Sleeping
Sleeping
add model debug layout
Browse files
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
title: Spotlight Speech Commands
|
3 |
-
emoji:
|
4 |
colorFrom: indigo
|
5 |
colorTo: green
|
6 |
sdk: docker
|
|
|
1 |
---
|
2 |
title: Spotlight Speech Commands
|
3 |
+
emoji: 🎙️
|
4 |
colorFrom: indigo
|
5 |
colorTo: green
|
6 |
sdk: docker
|
run.py
CHANGED
@@ -98,6 +98,9 @@ if __name__ == "__main__":
|
|
98 |
"(use environment variables `HF_SUBSET` and `HF_SPLIT` respective)?"
|
99 |
)
|
100 |
print(f"Serving Hugging Face dataset {hf_settings}.")
|
|
|
|
|
|
|
101 |
spotlight.show(
|
102 |
-
ds, host="0.0.0.0", port=7860, wait="forever", dtype=dtypes, analyze=True
|
103 |
)
|
|
|
98 |
"(use environment variables `HF_SUBSET` and `HF_SPLIT` respective)?"
|
99 |
)
|
100 |
print(f"Serving Hugging Face dataset {hf_settings}.")
|
101 |
+
|
102 |
+
|
103 |
+
|
104 |
spotlight.show(
|
105 |
+
ds, host="0.0.0.0", port=7860, wait="forever", dtype=dtypes, layout=spotlight.layouts.debug_classification(), analyze=True
|
106 |
)
|