Spaces:
Sleeping
Sleeping
removing async
Browse files
app.py
CHANGED
|
@@ -10,9 +10,6 @@ import logging
|
|
| 10 |
import sys
|
| 11 |
llm = OpenAI(temperature=0.0, model="gpt-3.5-turbo", max_tokens=512)
|
| 12 |
|
| 13 |
-
import nest_asyncio
|
| 14 |
-
nest_asyncio.apply()
|
| 15 |
-
|
| 16 |
PERSIST_DIR = "arv_metadata"
|
| 17 |
storage_context = StorageContext.from_defaults(persist_dir=PERSIST_DIR)
|
| 18 |
index = load_index_from_storage(storage_context)
|
|
|
|
| 10 |
import sys
|
| 11 |
llm = OpenAI(temperature=0.0, model="gpt-3.5-turbo", max_tokens=512)
|
| 12 |
|
|
|
|
|
|
|
|
|
|
| 13 |
PERSIST_DIR = "arv_metadata"
|
| 14 |
storage_context = StorageContext.from_defaults(persist_dir=PERSIST_DIR)
|
| 15 |
index = load_index_from_storage(storage_context)
|