kappai commited on
Commit
da49fc9
·
verified ·
1 Parent(s): ff3c77a

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -11,9 +11,10 @@ from huggingface_hub import InferenceClient
11
  # CONFIG
12
 
13
  # You can hard-code the model here, or override with MODEL_ID as a Space variable.
14
- MODEL_ID = os.environ.get("MODEL_ID", "meta-llama/Meta-Llama-3.1-8B-Instruct")
15
- # Public model → no token required
16
- HF_TOKEN = os.environ.get("HF_TOKEN") # optional, can stay empty
 
17
 
18
  REPO_PATH = "/data/questions.json" # where we store generated questions
19
 
 
11
  # CONFIG
12
 
13
  # You can hard-code the model here, or override with MODEL_ID as a Space variable.
14
+ # Use a free, public chat model that doesn't need a novita api_key
15
+ MODEL_ID = os.environ.get("MODEL_ID", "TinyLlama/TinyLlama-1.1B-Chat-v1.0")
16
+ HF_TOKEN = os.environ.get("HF_TOKEN") # can stay empty
17
+
18
 
19
  REPO_PATH = "/data/questions.json" # where we store generated questions
20