Spaces:
Running
Running
github-actions[bot]
commited on
Commit
Β·
a80cc10
1
Parent(s):
3ec8e7d
Sync with https://github.com/mozilla-ai/surf-spot-finder
Browse files- README.md +3 -3
- components/inputs.py +2 -2
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
---
|
2 |
title: Surf Spot Finder
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: docker
|
7 |
app_port: 8501
|
8 |
tags:
|
|
|
1 |
---
|
2 |
title: Surf Spot Finder
|
3 |
+
emoji: ππΌββοΈ
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: indigo
|
6 |
sdk: docker
|
7 |
app_port: 8501
|
8 |
tags:
|
components/inputs.py
CHANGED
@@ -84,14 +84,14 @@ def get_user_inputs() -> UserInputs:
|
|
84 |
framework = st.selectbox(
|
85 |
"Select the agent framework to use",
|
86 |
supported_frameworks,
|
87 |
-
index=
|
88 |
format_func=lambda x: x.name,
|
89 |
)
|
90 |
|
91 |
model_id = st.selectbox(
|
92 |
"Select the model to use",
|
93 |
MODEL_OPTIONS,
|
94 |
-
index=
|
95 |
format_func=lambda x: "/".join(x.split("/")[-3:]),
|
96 |
)
|
97 |
|
|
|
84 |
framework = st.selectbox(
|
85 |
"Select the agent framework to use",
|
86 |
supported_frameworks,
|
87 |
+
index=2,
|
88 |
format_func=lambda x: x.name,
|
89 |
)
|
90 |
|
91 |
model_id = st.selectbox(
|
92 |
"Select the model to use",
|
93 |
MODEL_OPTIONS,
|
94 |
+
index=1,
|
95 |
format_func=lambda x: "/".join(x.split("/")[-3:]),
|
96 |
)
|
97 |
|