TimStats commited on
Commit
00eb37c
·
verified ·
1 Parent(s): 5a71d79

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +3 -1
app.R CHANGED
@@ -54,6 +54,7 @@ check_patreon_access <- function(email) {
54
 
55
  return(FALSE)
56
  }
 
57
  download_private_csv <- function(repo_id, filename) {
58
  url <- paste0("https://huggingface.co/datasets/", repo_id, "/resolve/main/", filename)
59
  response <- GET(url, add_headers(Authorization = paste("Bearer", Sys.getenv("GETCSV"))))
@@ -258,7 +259,8 @@ is_authenticated <- reactiveVal(FALSE)
258
 
259
  # Render either login page or main app
260
  output$page_content <- renderUI({
261
- if (!is_authenticated()) {
 
262
  # Login page
263
  card(
264
  card_header("Authentication Required"),
 
54
 
55
  return(FALSE)
56
  }
57
+
58
  download_private_csv <- function(repo_id, filename) {
59
  url <- paste0("https://huggingface.co/datasets/", repo_id, "/resolve/main/", filename)
60
  response <- GET(url, add_headers(Authorization = paste("Bearer", Sys.getenv("GETCSV"))))
 
259
 
260
  # Render either login page or main app
261
  output$page_content <- renderUI({
262
+ #if (!is_authenticated()) {
263
+ if (FALSE) {
264
  # Login page
265
  card(
266
  card_header("Authentication Required"),