onlysainaa commited on
Commit
c758591
·
verified ·
1 Parent(s): 07a4a36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import torch
5
  from transformers import T5ForConditionalGeneration, PreTrainedTokenizerFast
6
 
7
  # Define the path to the checkpoint directory
8
- checkpoint_dir = "/home/only_sainaa/home/Huggingface/marianmt_conversion/results/checkpoint-221496"
9
 
10
  # Load the model
11
  model = T5ForConditionalGeneration.from_pretrained(checkpoint_dir)
 
5
  from transformers import T5ForConditionalGeneration, PreTrainedTokenizerFast
6
 
7
  # Define the path to the checkpoint directory
8
+ checkpoint_dir = "onlysainaa/cyrillic_to_script-t5-model"
9
 
10
  # Load the model
11
  model = T5ForConditionalGeneration.from_pretrained(checkpoint_dir)