BramLeo commited on
Commit
2ccd845
·
verified ·
1 Parent(s): 8c83c10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -24,10 +24,9 @@ def initialize_llama_model():
24
  # Fungsi untuk mengatur konfigurasi Settings
25
  def initialize_settings(model_path):
26
  Settings.llm = LlamaCPP(
27
- model_path=model_path,
28
- temperature=0.7,
29
- n_gpu_layers=0 # Menjalankan model hanya di CPU
30
- )
31
 
32
  # Fungsi untuk Menginisialisasi Index
33
  def initialize_index():
 
24
  # Fungsi untuk mengatur konfigurasi Settings
25
  def initialize_settings(model_path):
26
  Settings.llm = LlamaCPP(
27
+ model_path=model_path,
28
+ temperature=0.7,
29
+ )
 
30
 
31
  # Fungsi untuk Menginisialisasi Index
32
  def initialize_index():