Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,8 +7,7 @@ st.title('PromptLab')
|
|
| 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"]
|
|
@@ -18,3 +17,7 @@ genai.configure(api_key=GOOGLE_API_KEY)
|
|
| 18 |
|
| 19 |
# Input field for the blog topic
|
| 20 |
topic = st.text_area('Enter your prompt:')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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"], horizontal=True)
|
|
|
|
| 11 |
|
| 12 |
# Retrieve the API key from Streamlit secrets
|
| 13 |
GOOGLE_API_KEY = st.secrets["GEMINI_API_KEY"]
|
|
|
|
| 17 |
|
| 18 |
# Input field for the blog topic
|
| 19 |
topic = st.text_area('Enter your prompt:')
|
| 20 |
+
|
| 21 |
+
# Display selected mode
|
| 22 |
+
st.write(f"You selected: {mode}")
|
| 23 |
+
|