thelip commited on
Commit
b3f4159
·
verified ·
1 Parent(s): b4e88f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import AutoTokenizer, AutoModelForCausalLM
3
  import torch
4
  import os
5
-
6
  # Load model and tokenizer with the token from environment variables
7
  model_name = "meta-llama/Llama-2-7b-hf"
8
  token = os.getenv("HUGGINGFACE_TOKEN") # Get token from environment
 
2
  from transformers import AutoTokenizer, AutoModelForCausalLM
3
  import torch
4
  import os
5
+
6
  # Load model and tokenizer with the token from environment variables
7
  model_name = "meta-llama/Llama-2-7b-hf"
8
  token = os.getenv("HUGGINGFACE_TOKEN") # Get token from environment