Kurkur99 commited on
Commit
c2ad845
β€’
1 Parent(s): 4b00301

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ token_model = "indolem/indobertweet-base-uncased"
7
  tokenizer = BertTokenizer.from_pretrained(token_model)
8
 
9
  # Define the model directory where your config.json and pytorch_model.bin are located
10
- model_directory = "modeling" # Make sure this directory has config.json and pytorch_model.bin
11
 
12
  # Load the model
13
  # If your weights are named differently, ensure the file is named pytorch_model.bin or modify the loading method
 
7
  tokenizer = BertTokenizer.from_pretrained(token_model)
8
 
9
  # Define the model directory where your config.json and pytorch_model.bin are located
10
+ model_directory = "pretrained_arief.model" # Make sure this directory has config.json and pytorch_model.bin
11
 
12
  # Load the model
13
  # If your weights are named differently, ensure the file is named pytorch_model.bin or modify the loading method