yiyixin commited on
Commit
ce9539c
1 Parent(s): 32b404c
Files changed (2) hide show
  1. base_class.py +8 -8
  2. run.sh +1 -1
base_class.py CHANGED
@@ -87,14 +87,14 @@ class AbstractPDFParser(metaclass=abc.ABCMeta):
87
  """
88
  pass
89
 
90
- @abc.abstractmethod
91
- def _determine_optimal_split_of_pargraphs(self, ) -> None:
92
- """
93
- Determine the optimal split of paragraphs
94
- Return:
95
- split_paragraphs: dict of metadata and corresponding list of split paragraphs
96
- """
97
- pass
98
 
99
 
100
  class ChatbotEngine(metaclass=abc.ABCMeta):
 
87
  """
88
  pass
89
 
90
+ # @abc.abstractmethod
91
+ # def _determine_optimal_split_of_pargraphs(self, ) -> None:
92
+ # """
93
+ # Determine the optimal split of paragraphs
94
+ # Return:
95
+ # split_paragraphs: dict of metadata and corresponding list of split paragraphs
96
+ # """
97
+ # pass
98
 
99
 
100
  class ChatbotEngine(metaclass=abc.ABCMeta):
run.sh CHANGED
@@ -1,2 +1,2 @@
1
- python backend.py &
2
  streamlit run frontend.py --server.address 0.0.0.0 --server.port 7860 --server.enableCORS true --server.enableXsrfProtection false
 
1
+ nohup python backend.py &
2
  streamlit run frontend.py --server.address 0.0.0.0 --server.port 7860 --server.enableCORS true --server.enableXsrfProtection false