vilarin commited on
Commit
ea299a2
1 Parent(s): 6a0c6b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,4 +1,4 @@
1
- model_name = "gemma2:27b"
2
 
3
  import os
4
 
@@ -59,7 +59,7 @@ thread.start()
59
 
60
  # Load up model
61
 
62
- os.system(f"ollama pull {model_name}")
63
 
64
 
65
  import copy
@@ -77,7 +77,7 @@ MODEL_NAME = MODEL_ID.split("/")[-1]
77
  os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
78
 
79
 
80
- gemma2 = Ollama(model=model_name, request_timeout=30.0)
81
 
82
 
83
  TITLE = "<h1><center>Chatbox</center></h1>"
 
1
+ model = "gemma2:27b"
2
 
3
  import os
4
 
 
59
 
60
  # Load up model
61
 
62
+ os.system(f"ollama pull {model}")
63
 
64
 
65
  import copy
 
77
  os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
78
 
79
 
80
+ gemma2 = Ollama(model=model, request_timeout=30.0)
81
 
82
 
83
  TITLE = "<h1><center>Chatbox</center></h1>"