bupa1018 commited on
Commit
95aa8e9
·
1 Parent(s): 050be50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -48,6 +48,9 @@ hf_api = HfApi()
48
  def initialize():
49
  global kadiAPY_bot
50
 
 
 
 
51
 
52
  download_gitlab_repo_to_hfspace(GITLAB_API_URL, GITLAB_PROJECT_ID, GITLAB_PROJECT_VERSION, DATA_DIR, hf_api, HF_SPACE_NAME)
53
 
@@ -68,7 +71,12 @@ def initialize():
68
 
69
  kadiAPY_bot = KadiAPYBot(llm, vectorstore)
70
 
71
- initialize()
 
 
 
 
 
72
 
73
  def bot_kadi(history):
74
  user_query = history[-1][0]
 
48
  def initialize():
49
  global kadiAPY_bot
50
 
51
+
52
+ result = store_message_from_json()
53
+ print(result)
54
 
55
  download_gitlab_repo_to_hfspace(GITLAB_API_URL, GITLAB_PROJECT_ID, GITLAB_PROJECT_VERSION, DATA_DIR, hf_api, HF_SPACE_NAME)
56
 
 
71
 
72
  kadiAPY_bot = KadiAPYBot(llm, vectorstore)
73
 
74
+
75
+ result = store_message_from_json()
76
+ print(result)
77
+
78
+
79
+ #initialize()
80
 
81
  def bot_kadi(history):
82
  user_query = history[-1][0]