Jorge Henao commited on
Commit
6c1e509
1 Parent(s): 5cc934c

app file fixed again

Browse files
Files changed (2) hide show
  1. app_es.py +2 -2
  2. app_pinecode.py +2 -2
app_es.py CHANGED
@@ -2,9 +2,9 @@ import streamlit as st
2
  import json
3
  import time
4
  from config import Config
5
- from pinecode_quieries import PinecodeProposalQueries
6
 
7
- extractive_query = PinecodeProposalQueries (es_host = Config.es_host, es_index = Config.proposals_index,
8
  es_user = Config.es_user, es_password = Config.es_password,
9
  reader_name_or_path = Config.reader_model_name_or_path,
10
  use_gpu = Config.use_gpu)
 
2
  import json
3
  import time
4
  from config import Config
5
+ from document_quieries import ExtractiveProposalQueries
6
 
7
+ extractive_query = ExtractiveProposalQueries(es_host = Config.es_host, es_index = Config.proposals_index,
8
  es_user = Config.es_user, es_password = Config.es_password,
9
  reader_name_or_path = Config.reader_model_name_or_path,
10
  use_gpu = Config.use_gpu)
app_pinecode.py CHANGED
@@ -2,9 +2,9 @@ import streamlit as st
2
  import json
3
  import time
4
  from config import Config
5
- from document_quieries import ExtractiveProposalQueries
6
 
7
- extractive_query = ExtractiveProposalQueries(es_host = Config.es_host, es_index = Config.proposals_index,
8
  es_user = Config.es_user, es_password = Config.es_password,
9
  reader_name_or_path = Config.reader_model_name_or_path,
10
  use_gpu = Config.use_gpu)
 
2
  import json
3
  import time
4
  from config import Config
5
+ from pinecode_quieries import PinecodeProposalQueries
6
 
7
+ extractive_query = PinecodeProposalQueries (es_host = Config.es_host, es_index = Config.proposals_index,
8
  es_user = Config.es_user, es_password = Config.es_password,
9
  reader_name_or_path = Config.reader_model_name_or_path,
10
  use_gpu = Config.use_gpu)