ysharma HF staff commited on
Commit
0d6dd81
1 Parent(s): f17f736
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import time
5
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
6
  import paddlehub as hub
7
 
8
- #HF_TOKEN = os.environ["HF_TOKEN"]
9
  model = hub.Module(name='ernie_vilg')
10
 
11
  def get_ernie_vilg(text_prompts, style):
 
5
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
6
  import paddlehub as hub
7
 
8
+ HF_TOKEN = os.environ["HF_TOKEN"]
9
  model = hub.Module(name='ernie_vilg')
10
 
11
  def get_ernie_vilg(text_prompts, style):