Shubham89 commited on
Commit
a1e2fd8
·
1 Parent(s): bd2494d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -9,9 +9,9 @@ os.environ["OPENAI_API_KEY"] = 'sk-TBQa3E1H2wInOLKRrQ3lT3BlbkFJIlyEKk8eGwDiVnM4V
9
  def gradio_ask_ai(user_input):
10
  index = GPTSimpleVectorIndex.load_from_disk('index.json')
11
  query = user_input
12
- f=open("yo.txt")
13
- f.write("file created")
14
- f.close()
15
  response = index.query(query)
16
  return response.response
17
 
 
9
  def gradio_ask_ai(user_input):
10
  index = GPTSimpleVectorIndex.load_from_disk('index.json')
11
  query = user_input
12
+ # f=open("yo.txt")
13
+ # f.write("file created")
14
+ # f.close()
15
  response = index.query(query)
16
  return response.response
17