paulpall commited on
Commit
46518a0
·
verified ·
1 Parent(s): d5b8da0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -6,6 +6,7 @@ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
6
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
7
  """
8
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
 
9
 
10
  # Load Model
11
  model_directory = 'paulpall/GEC_Estonian_OPUS-MT'
 
6
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
7
  """
8
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
9
+ token=OS.envrion['token']
10
 
11
  # Load Model
12
  model_directory = 'paulpall/GEC_Estonian_OPUS-MT'