|
import streamlit as st |
|
|
|
|
|
roles = { |
|
"Writing Expert": "๐ Exhibits expertise in generating textual content and narratives.", |
|
"Roleplay Expert": "๐ญ Specialized in mimicking behaviors or characters.", |
|
"Extraction Expert": "๐ Strictly sticks to facts and extracts concise information.", |
|
"Mathematician": "โ Solves mathematical problems with precision.", |
|
"Coder": "๐ป Creates short python code functions to solve tasks.", |
|
"Reasoning Expert": "๐ค Analyzes situations and provides logical solutions.", |
|
"STEM Expert": "๐ฌ Specialized in Science, Technology, Engineering, and Mathematics tasks.", |
|
"Humanities Expert": "๐ Focuses on arts, literature, history, and other humanities subjects.", |
|
} |
|
|
|
|
|
st.title("AI Role Selector") |
|
|
|
|
|
selected_role = st.selectbox("Select AI Role:", list(roles.keys())) |
|
|
|
|
|
model = st.radio("Choose Model:", ["model_1", "model_2"]) |
|
|
|
|
|
user_input = st.text_area("Provide your task/question:") |
|
|
|
|
|
if st.button("Execute"): |
|
|
|
|
|
st.write(f"You said: {user_input}") |
|
|
|
|
|
st.write(roles[selected_role]) |
|
|