pheodoraa commited on
Commit
acbbcdb
·
verified ·
1 Parent(s): 3858400

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  from transformers import AutoTokenizer, AutoModelForCausalLM
4
 
5
  # Path to local model in the same repo (e.g., "Mixtral-8x7B-Instruct-v0.1" folder uploaded to Space)
6
- MODEL_DIR = "./Mixtral-8x7B-Instruct-v0.1"
7
 
8
  # Load tokenizer and model
9
  tokenizer = AutoTokenizer.from_pretrained(MODEL_DIR, trust_remote_code=True)
 
3
  from transformers import AutoTokenizer, AutoModelForCausalLM
4
 
5
  # Path to local model in the same repo (e.g., "Mixtral-8x7B-Instruct-v0.1" folder uploaded to Space)
6
+ MODEL_DIR = "Mixtral-8x7B-Instruct-v0.1"
7
 
8
  # Load tokenizer and model
9
  tokenizer = AutoTokenizer.from_pretrained(MODEL_DIR, trust_remote_code=True)