project-baize commited on
Commit
7e2a3f2
1 Parent(s): 06a42ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -17,6 +17,7 @@ base_model = "decapoda-research/llama-7b-hf"
17
  adapter_model = "project-baize/baize-lora-7B"
18
  tokenizer,model,device = load_tokenizer_and_model(base_model,adapter_model)
19
 
 
20
  total_cont = 0
21
  def predict(text,
22
  chatbot,
 
17
  adapter_model = "project-baize/baize-lora-7B"
18
  tokenizer,model,device = load_tokenizer_and_model(base_model,adapter_model)
19
 
20
+ global total_cont
21
  total_cont = 0
22
  def predict(text,
23
  chatbot,