yiyixin commited on
Commit
a0e57d0
1 Parent(s): 5137457
__pycache__/base_class.cpython-39.pyc ADDED
Binary file (4.25 kB). View file
 
__pycache__/chat_pdf.cpython-39.pyc ADDED
Binary file (3.98 kB). View file
 
__pycache__/chatbot.cpython-39.pyc ADDED
Binary file (8.1 kB). View file
 
__pycache__/config.cpython-39.pyc ADDED
Binary file (419 Bytes). View file
 
__pycache__/embedding_model.cpython-39.pyc ADDED
Binary file (2.04 kB). View file
 
__pycache__/pdf_parser.cpython-39.pyc ADDED
Binary file (5.23 kB). View file
 
__pycache__/scipdf_utils.cpython-39.pyc ADDED
Binary file (11.2 kB). View file
 
__pycache__/similarity_metric.cpython-39.pyc ADDED
Binary file (810 Bytes). View file
 
__pycache__/utils.cpython-39.pyc ADDED
Binary file (1.05 kB). View file
 
backend.py CHANGED
@@ -78,4 +78,4 @@ def query():
78
 
79
 
80
  if __name__ == '__main__':
81
- app.run(host='localhost', port=5000, debug=False)
 
78
 
79
 
80
  if __name__ == '__main__':
81
+ app.run(host='0.0.0.0', port=8080, debug=False)
frontend.py CHANGED
@@ -29,7 +29,7 @@ def get_text():
29
 
30
  st.header("ChatPaper - Demo")
31
 
32
- API_URL = "http://localhost:5000/query/"
33
  header = {"api_key": ""}
34
 
35
  if 'generated' not in st.session_state:
 
29
 
30
  st.header("ChatPaper - Demo")
31
 
32
+ API_URL = "http://127.0.0.1:8080/query/"
33
  header = {"api_key": ""}
34
 
35
  if 'generated' not in st.session_state: