MojoHz commited on
Commit
f7215c2
·
verified ·
1 Parent(s): 8dd0ad9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
2
  from transformers import AutoModelForCausalLM, AutoTokenizer
3
  import torch
 
4
 
5
  # Access the Hugging Face token from the environment variable
6
  HF_TOKEN = os.getenv("HF_Token")
 
1
  import gradio as gr
2
  from transformers import AutoModelForCausalLM, AutoTokenizer
3
  import torch
4
+ import os
5
 
6
  # Access the Hugging Face token from the environment variable
7
  HF_TOKEN = os.getenv("HF_Token")