maxcembalest commited on
Commit
17d0fa3
·
1 Parent(s): 0f7975c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,7 +111,7 @@ def get_source_doc(output):
111
  html_filename = source_document.metadata['source']
112
  source_doc_link = html_filename.replace('files/', '')
113
  source_doc_file = html_filename.replace('files/docs.arthur.ai/', '').replace('.html', '')
114
- with open(source_doc_file, 'r') as f:
115
  source_text = f.read()
116
  return source_text, source_doc_link
117
 
 
111
  html_filename = source_document.metadata['source']
112
  source_doc_link = html_filename.replace('files/', '')
113
  source_doc_file = html_filename.replace('files/docs.arthur.ai/', '').replace('.html', '')
114
+ with open(source_doc_file, 'r') as f:
115
  source_text = f.read()
116
  return source_text, source_doc_link
117