jameshwade commited on
Commit
1e2dd98
·
1 Parent(s): d46b6ee

check if file exists

Browse files
Files changed (1) hide show
  1. app.R +3 -1
app.R CHANGED
@@ -6,7 +6,9 @@ library(glue)
6
 
7
  source("helper.R")
8
 
9
- cat(Sys.getenv("OPENAI_API_KEY"))
 
 
10
 
11
  ui <- page_sidebar(
12
  title = "Chatbot with R & OpenAI",
 
6
 
7
  source("helper.R")
8
 
9
+ cat(".Renviron file exists: ", file.exists("~/.Renviron"), "\n")
10
+
11
+ cat("API KEY: ", Sys.getenv("OPENAI_API_KEY"), "\n")
12
 
13
  ui <- page_sidebar(
14
  title = "Chatbot with R & OpenAI",