Update app.py
Browse files
app.py
CHANGED
@@ -18,6 +18,9 @@ st.title("AI Role Selector")
|
|
18 |
# Dropdown to select role
|
19 |
selected_role = st.selectbox("Select AI Role:", list(roles.keys()))
|
20 |
|
|
|
|
|
|
|
21 |
# Switch to choose between two models
|
22 |
model = st.radio("Choose Model:", ["model_1", "model_2"])
|
23 |
|
@@ -29,6 +32,3 @@ if st.button("Execute"):
|
|
29 |
# Here, you would add code to get the AI response based on the selected role and model.
|
30 |
# For now, just echoing the user input.
|
31 |
st.write(f"You said: {user_input}")
|
32 |
-
|
33 |
-
# Display the description of the selected role
|
34 |
-
st.write(roles[selected_role])
|
|
|
18 |
# Dropdown to select role
|
19 |
selected_role = st.selectbox("Select AI Role:", list(roles.keys()))
|
20 |
|
21 |
+
# Display the description of the selected role
|
22 |
+
st.write(roles[selected_role])
|
23 |
+
|
24 |
# Switch to choose between two models
|
25 |
model = st.radio("Choose Model:", ["model_1", "model_2"])
|
26 |
|
|
|
32 |
# Here, you would add code to get the AI response based on the selected role and model.
|
33 |
# For now, just echoing the user input.
|
34 |
st.write(f"You said: {user_input}")
|
|
|
|
|
|