alexkueck commited on
Commit
504a6c1
1 Parent(s): 1883988

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,9 +5,9 @@ import os, sys, json
5
  import gradio as gr
6
 
7
  # access token with permission to access the model and PRO subscription
8
- HUGGINGFACEHUB_API_TOKEN = os.getenv("HF_ACCESS_READ")
9
  OAI_API_KEY=os.getenv("OPENAI_API_KEY")
10
- #login(token=HUGGINGFACEHUB_API_TOKEN)
11
 
12
  # tokenizer for generating prompt
13
  print ("Tokenizer")
 
5
  import gradio as gr
6
 
7
  # access token with permission to access the model and PRO subscription
8
+ #HUGGINGFACEHUB_API_TOKEN = os.getenv("HF_ACCESS_READ")
9
  OAI_API_KEY=os.getenv("OPENAI_API_KEY")
10
+ login(token=os.environ["HF_ACCESS_READ"])
11
 
12
  # tokenizer for generating prompt
13
  print ("Tokenizer")