Jerrz commited on
Commit
cb29122
·
1 Parent(s): 2c6d171

removed dotenv from requirements

Browse files
Files changed (2) hide show
  1. app.py +1 -2
  2. requirements.txt +0 -1
app.py CHANGED
@@ -1,10 +1,9 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
- from dotenv import load_dotenv
4
  import os
5
  from transformers import AutoTokenizer, AutoModelForCausalLM
6
 
7
- load_dotenv()
8
  # ACCESS_TOKEN = os.getenv('ACCESS_TOKEN')
9
  """
10
  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
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
 
3
  import os
4
  from transformers import AutoTokenizer, AutoModelForCausalLM
5
 
6
+
7
  # ACCESS_TOKEN = os.getenv('ACCESS_TOKEN')
8
  """
9
  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
requirements.txt CHANGED
@@ -1,4 +1,3 @@
1
  huggingface_hub==0.22.2
2
  transformers
3
  gradio
4
- dotenv
 
1
  huggingface_hub==0.22.2
2
  transformers
3
  gradio