Update app2.py
Browse files
app2.py
CHANGED
|
@@ -2,14 +2,14 @@
|
|
| 2 |
import streamlit as st
|
| 3 |
|
| 4 |
def main():
|
| 5 |
-
st.title("
|
| 6 |
|
| 7 |
# Radio
|
| 8 |
st.header("Radio:")
|
| 9 |
radio = st.radio("Radio", ["Open AI", "Gemini ", "TBD"])
|
| 10 |
st.write("Selected option:", radio)
|
| 11 |
|
| 12 |
-
|
| 13 |
{
|
| 14 |
rol = st.text_input("Enter Role")
|
| 15 |
st.write("Entered role:", rol)
|
|
|
|
| 2 |
import streamlit as st
|
| 3 |
|
| 4 |
def main():
|
| 5 |
+
st.title("Open AI or Gemini Options")
|
| 6 |
|
| 7 |
# Radio
|
| 8 |
st.header("Radio:")
|
| 9 |
radio = st.radio("Radio", ["Open AI", "Gemini ", "TBD"])
|
| 10 |
st.write("Selected option:", radio)
|
| 11 |
|
| 12 |
+
if : (st.radio == "OpenAI")
|
| 13 |
{
|
| 14 |
rol = st.text_input("Enter Role")
|
| 15 |
st.write("Entered role:", rol)
|