Navya-Sree commited on
Commit
f40dfb7
·
verified ·
1 Parent(s): a3f36ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -80,7 +80,11 @@ def build_orchestrator(api_key: str, base_url: str, model: str, temperature: flo
80
  # Sidebar controls
81
  # -----------------------------
82
  with st.sidebar:
83
- st.header("OpenAI Connection")
 
 
 
 
84
 
85
  uri = st.text_input(
86
  "OpenAI URI (paste key here)",
 
80
  # Sidebar controls
81
  # -----------------------------
82
  with st.sidebar:
83
+ st.header("OpenAI Key")
84
+ user_key = st.text_input("Paste OpenAI API Key", type="password", help="Starts with sk-...")
85
+ model = st.text_input("Model", value="gpt-5")
86
+ temperature = st.slider("Temperature", 0.0, 1.0, 0.2, 0.05)
87
+ max_iters = st.slider("Max iterations", 1, 6, 3)
88
 
89
  uri = st.text_input(
90
  "OpenAI URI (paste key here)",