Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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-
|
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)
|