Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,23 +7,9 @@ st.title('PromptLab')
|
|
7 |
# Create two columns for the Shinobi and Raikage buttons
|
8 |
col1, col2 = st.columns(2)
|
9 |
|
10 |
-
# Style the buttons to look like rounded slots
|
11 |
-
with col1:
|
12 |
-
shinobi_selected = st.button("🌀 Shinobi")
|
13 |
-
|
14 |
-
with col2:
|
15 |
-
raikage_selected = st.button("⚡ Raikage")
|
16 |
-
|
17 |
mode = st.radio("Choose a mode:", ["Shinobi", "Raikage"])
|
18 |
st.write(f"You selected: {mode}")
|
19 |
|
20 |
-
tab1, tab2 = st.tabs(["Shinobi", "Raikage"])
|
21 |
-
with tab1:
|
22 |
-
st.write("Shinobi Mode")
|
23 |
-
with tab2:
|
24 |
-
st.write("Raikage Mode")
|
25 |
-
|
26 |
-
|
27 |
# Retrieve the API key from Streamlit secrets
|
28 |
GOOGLE_API_KEY = st.secrets["GEMINI_API_KEY"]
|
29 |
|
|
|
7 |
# Create two columns for the Shinobi and Raikage buttons
|
8 |
col1, col2 = st.columns(2)
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
mode = st.radio("Choose a mode:", ["Shinobi", "Raikage"])
|
11 |
st.write(f"You selected: {mode}")
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
# Retrieve the API key from Streamlit secrets
|
14 |
GOOGLE_API_KEY = st.secrets["GEMINI_API_KEY"]
|
15 |
|