zlmqi commited on
Commit
bba46b9
1 Parent(s): c3e4d1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ from huggingface_hub import CommitScheduler
38
  # deprecated
39
  storage_context = StorageContext.from_defaults(persist_dir='./')
40
  # gpt-3.5_turbo is the current default model
41
- llm_predictor = OpenAI(temperature=0.5, model="gpt-3.5_turbo")
42
  #service_context = ServiceContext.from_defaults(llm=llm_predictor)
43
  #index = load_index_from_storage(storage_context, service_context=service_context)
44
  index = load_index_from_storage(storage_context)
 
38
  # deprecated
39
  storage_context = StorageContext.from_defaults(persist_dir='./')
40
  # gpt-3.5_turbo is the current default model
41
+ llm_predictor = OpenAI(temperature=0.5, model="gpt-4")
42
  #service_context = ServiceContext.from_defaults(llm=llm_predictor)
43
  #index = load_index_from_storage(storage_context, service_context=service_context)
44
  index = load_index_from_storage(storage_context)