Spaces:
Runtime error
Runtime error
Commit
·
1e2dd98
1
Parent(s):
d46b6ee
check if file exists
Browse files
app.R
CHANGED
@@ -6,7 +6,9 @@ library(glue)
|
|
6 |
|
7 |
source("helper.R")
|
8 |
|
9 |
-
cat(
|
|
|
|
|
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",
|