acecalisto3 commited on
Commit
50afc70
·
verified ·
1 Parent(s): e98b8b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1165,9 +1165,9 @@ def display_historical_data(storage_location: str, url: str):
1165
  return pd.DataFrame()
1166
 
1167
  def load_model():
1168
- """
1169
- Loads the openLlama model and tokenizer once and returns the pipeline.
1170
- """
1171
  try:
1172
  model_name = "openlm-research/open_llama_3b_v2"
1173
  tokenizer = AutoTokenizer.from_pretrained(model_name, use_fast=False, legacy=False)
 
1165
  return pd.DataFrame()
1166
 
1167
  def load_model():
1168
+ """
1169
+ Loads the openLlama model and tokenizer once and returns the pipeline.
1170
+ """
1171
  try:
1172
  model_name = "openlm-research/open_llama_3b_v2"
1173
  tokenizer = AutoTokenizer.from_pretrained(model_name, use_fast=False, legacy=False)