abdullah040 commited on
Commit
b50b55b
·
1 Parent(s): ee2dadf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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('/index (4).json')
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('TextBook/index (4).json')
5
 
6
  def my_model_function(input_text):
7
  response = index.query(input_text, response_mode="compact")