tony346 commited on
Commit
fc322f5
1 Parent(s): e541bfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -105,7 +105,7 @@ def get_json_file(docs):
105
  # with open(docs, 'r') as f:
106
  json_data = json.load(docs)
107
 
108
- f for f_key, f_value in json_data.items():
109
  for s_value in f_value:
110
  text += str(f_key) + str(s_value)
111
  text += '\n'
@@ -171,7 +171,7 @@ def main():
171
 
172
  # create vector store
173
  vectorstore = get_vectorstore(text_chunks)
174
- f
175
  # create conversation chain
176
  st.session_state.conversation = get_conversation_chain(
177
  vectorstore)
 
105
  # with open(docs, 'r') as f:
106
  json_data = json.load(docs)
107
 
108
+ for f_key, f_value in json_data.items():
109
  for s_value in f_value:
110
  text += str(f_key) + str(s_value)
111
  text += '\n'
 
171
 
172
  # create vector store
173
  vectorstore = get_vectorstore(text_chunks)
174
+
175
  # create conversation chain
176
  st.session_state.conversation = get_conversation_chain(
177
  vectorstore)