International Rice Research Institute commited on
Commit
13edc59
·
verified ·
1 Parent(s): a845b93

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +3 -4
app.R CHANGED
@@ -21,10 +21,9 @@ for (pkg in required_packages) {
21
  # TOKEN DEBUG
22
  # ============================================================
23
 
24
- token <- Sys.getenv("HF_API_TOKEN")
25
- token_exists <- token != ""
26
- token_length <- if(token_exists) nchar(token) else 0
27
-
28
  print("=== HUGGING FACE API TOKEN DEBUG ===")
29
  print(paste("Token exists:", token_exists))
30
  print(paste("Token length:", token_length))
 
21
  # TOKEN DEBUG
22
  # ============================================================
23
 
24
+ HF_API_TOKEN <- Sys.getenv("GROQ_API_KEY")
25
+ HF_API_URL <- "https://api.groq.com/openai/v1/chat/completions"
26
+ default_model <- "llama-3.1-8b-instant"
 
27
  print("=== HUGGING FACE API TOKEN DEBUG ===")
28
  print(paste("Token exists:", token_exists))
29
  print(paste("Token length:", token_length))