milwright commited on
Commit
2c7d094
·
verified ·
1 Parent(s): 2a3717e

Upload 4 files

Browse files
Files changed (3) hide show
  1. README.md +2 -8
  2. app.py +1 -1
  3. config.json +1 -1
README.md CHANGED
@@ -31,21 +31,15 @@ Python support for cultural analytics students
31
  5. This enables automatic configuration updates
32
 
33
 
34
- ### Step 3: Set Access Code
35
- 1. In Settings → Variables and secrets
36
- 2. Add secret: `ACCESS_CODE`
37
- 3. Set your chosen password
38
- 4. Share with authorized users
39
-
40
 
41
  ### Step 3: Test Your Space
42
  Your Space should now be running! Try the example prompts or ask your own questions.
43
 
44
  ## Configuration
45
- - **Model**: openai/gpt-4o-mini
46
  - **API Key Variable**: API_KEY
47
  - **HF Token Variable**: HF_TOKEN (for auto-updates)
48
- - **Access Control**: Enabled (ACCESS_CODE)
49
 
50
  ## Support
51
  For help, visit the HuggingFace documentation or community forums.
 
31
  5. This enables automatic configuration updates
32
 
33
 
 
 
 
 
 
 
34
 
35
  ### Step 3: Test Your Space
36
  Your Space should now be running! Try the example prompts or ask your own questions.
37
 
38
  ## Configuration
39
+ - **Model**: openai/gpt-oss-120b
40
  - **API Key Variable**: API_KEY
41
  - **HF Token Variable**: HF_TOKEN (for auto-updates)
42
+ - **Access**: Public
43
 
44
  ## Support
45
  For help, visit the HuggingFace documentation or community forums.
app.py CHANGED
@@ -22,7 +22,7 @@ DEFAULT_CONFIG = {
22
  'system_prompt': "You're a Python guide for CCNY's CSC 10800 where September covers foundations (command line, Jupyter, script anatomy), October builds programming basics (data types through functions) with Activities 1-2, and November-December advances to pandas, network analysis, and data collection with Activities 3-5, culminating in a Social Coding Portfolio. Support diverse learners by first assessing their comfort level and adapt your explanations accordingly. Always provide multiple entry points to concepts: start with the simplest working example that accomplishes the goal, then show incremental improvements and allow students to work and learn at their comfort level while, giving advanced learners paths to explore new concept and expand their programming repertoire. Expect to complete all responses in under 1000 tokens.",
23
  'temperature': 0.5,
24
  'max_tokens': 1000,
25
- 'model': 'openai/gpt-4o-mini',
26
  'api_key_var': 'API_KEY',
27
  'theme': 'Default',
28
  'grounding_urls': ["https://zmuhls.github.io/ccny-data-science/syllabus/", "https://zmuhls.github.io/ccny-data-science/schedule/"],
 
22
  'system_prompt': "You're a Python guide for CCNY's CSC 10800 where September covers foundations (command line, Jupyter, script anatomy), October builds programming basics (data types through functions) with Activities 1-2, and November-December advances to pandas, network analysis, and data collection with Activities 3-5, culminating in a Social Coding Portfolio. Support diverse learners by first assessing their comfort level and adapt your explanations accordingly. Always provide multiple entry points to concepts: start with the simplest working example that accomplishes the goal, then show incremental improvements and allow students to work and learn at their comfort level while, giving advanced learners paths to explore new concept and expand their programming repertoire. Expect to complete all responses in under 1000 tokens.",
23
  'temperature': 0.5,
24
  'max_tokens': 1000,
25
+ 'model': 'openai/gpt-oss-120b',
26
  'api_key_var': 'API_KEY',
27
  'theme': 'Default',
28
  'grounding_urls': ["https://zmuhls.github.io/ccny-data-science/syllabus/", "https://zmuhls.github.io/ccny-data-science/schedule/"],
config.json CHANGED
@@ -3,7 +3,7 @@
3
  "tagline": "Python support for cultural analytics students",
4
  "description": "Python support for cultural analytics students",
5
  "system_prompt": "You're a Python guide for CCNY's CSC 10800 where September covers foundations (command line, Jupyter, script anatomy), October builds programming basics (data types through functions) with Activities 1-2, and November-December advances to pandas, network analysis, and data collection with Activities 3-5, culminating in a Social Coding Portfolio. Support diverse learners by first assessing their comfort level and adapt your explanations accordingly. Always provide multiple entry points to concepts: start with the simplest working example that accomplishes the goal, then show incremental improvements and allow students to work and learn at their comfort level while, giving advanced learners paths to explore new concept and expand their programming repertoire. Expect to complete all responses in under 1000 tokens.",
6
- "model": "openai/gpt-4o-mini",
7
  "language": "English",
8
  "api_key_var": "API_KEY",
9
  "temperature": 0.5,
 
3
  "tagline": "Python support for cultural analytics students",
4
  "description": "Python support for cultural analytics students",
5
  "system_prompt": "You're a Python guide for CCNY's CSC 10800 where September covers foundations (command line, Jupyter, script anatomy), October builds programming basics (data types through functions) with Activities 1-2, and November-December advances to pandas, network analysis, and data collection with Activities 3-5, culminating in a Social Coding Portfolio. Support diverse learners by first assessing their comfort level and adapt your explanations accordingly. Always provide multiple entry points to concepts: start with the simplest working example that accomplishes the goal, then show incremental improvements and allow students to work and learn at their comfort level while, giving advanced learners paths to explore new concept and expand their programming repertoire. Expect to complete all responses in under 1000 tokens.",
6
+ "model": "openai/gpt-oss-120b",
7
  "language": "English",
8
  "api_key_var": "API_KEY",
9
  "temperature": 0.5,