Spaces:
Runtime error
Runtime error
Commit
·
5e5262d
1
Parent(s):
c044854
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,7 +76,7 @@ def createindex(url, openaikey):
|
|
| 76 |
# Create index
|
| 77 |
index = GPTListIndex([Document(transcript)], chunk_size_limit=2500)
|
| 78 |
|
| 79 |
-
index_filename =
|
| 80 |
index.save_to_disk(index_filename)
|
| 81 |
|
| 82 |
return "Video processed. Now you can start querying."
|
|
|
|
| 76 |
# Create index
|
| 77 |
index = GPTListIndex([Document(transcript)], chunk_size_limit=2500)
|
| 78 |
|
| 79 |
+
index_filename = "index.json"
|
| 80 |
index.save_to_disk(index_filename)
|
| 81 |
|
| 82 |
return "Video processed. Now you can start querying."
|