Spaces:
Sleeping
Sleeping
Commit History
-
Migrate tutor from Streamlit to Gradio and align prompt with the live app
Replace the Streamlit chat UI with a Gradio ChatInterface routed through LiteLLM so the tutor can target the UCSD TritonAI endpoint via OPENAI_API_BASE, instead of calling api.openai.com directly. Login now reads comma-separated credentials from ALLOWED_USERS rather than st.secrets; both values are configured as Space secrets. Rewrite the system prompt to describe the simulation students actually see. The confidence-intervals app is now a Vue 3 + D3 static site, but the prompt still documented the retired Shiny/R version, so the tutor was reasoning about an interface that no longer exists. Guiding questions now match the app sidebar verbatim, and response length is guided by pedagogical pacing instructions with max_tokens kept only as a generous backstop. Co-authored-by: Cursor <cursoragent@cursor.com>bdabadb
-
Update app.py
Verified signature1ed4e9b
-
Create app.py
Verified signaturead6d2ba