Spaces:
Runtime error
Runtime error
Commit
·
473ecbe
1
Parent(s):
b50b55b
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from gpt_index import GPTSimpleVectorIndex
|
3 |
|
4 |
-
index = GPTSimpleVectorIndex.load_from_disk('
|
5 |
|
6 |
def my_model_function(input_text):
|
7 |
response = index.query(input_text, response_mode="compact")
|
|
|
1 |
import gradio as gr
|
2 |
from gpt_index import GPTSimpleVectorIndex
|
3 |
|
4 |
+
index = GPTSimpleVectorIndex.load_from_disk('./index (4).json')
|
5 |
|
6 |
def my_model_function(input_text):
|
7 |
response = index.query(input_text, response_mode="compact")
|