Spaces:
Running
Running
Commit History
-
Migrate R Debug Coach from Streamlit to Gradio with file uploads
Replace the Streamlit chat UI with a multimodal Gradio ChatInterface routed through LiteLLM, so the coach 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. Students can now attach the file they are debugging instead of pasting it: images are inlined as base64, PDFs are text-extracted with pypdf, and .R, .Rmd, .qmd and other text files are read inline. Unreadable files degrade to a system note rather than failing the turn. Shorten short_description to satisfy the Hub 60-character limit, which otherwise rejects the push. Co-authored-by: Cursor <cursoragent@cursor.com>5894803
-
opening message
f9b1046
-
Create app.py
Verified signaturead6d2ba