wop commited on
Commit
2d0f9fd
·
verified ·
1 Parent(s): dca303b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
6
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
7
 
8
  # Load the pre-trained model and tokenizer from the saved directory
9
- model_path = "blexus_pretrained_test"
10
  tokenizer = GPT2Tokenizer.from_pretrained(model_path)
11
  model = GPT2LMHeadModel.from_pretrained(model_path).to(device)
12
 
 
6
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
7
 
8
  # Load the pre-trained model and tokenizer from the saved directory
9
+ model_path = "Blexus/Quble_Test_Model_v1_Pretrain"
10
  tokenizer = GPT2Tokenizer.from_pretrained(model_path)
11
  model = GPT2LMHeadModel.from_pretrained(model_path).to(device)
12