ppsingh commited on
Commit
7f5dd13
·
verified ·
1 Parent(s): d4dd20a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -49,11 +49,11 @@ scheduler = CommitScheduler(
49
  # hence, comment out line below when creating for first time
50
  #vectorstores = load_chunks()
51
  # once the vectore embeddings are created we will use qdrant client to access these
52
- try:
53
- vectorstores = get_local_qdrant()
54
- except Exception as e:
55
- api = HfApi()
56
- api.restart_space(repo_id = "GIZ/audit_assistant", token=audit_space)
57
 
58
  #####---------------------CHAT-----------------------------------------------------
59
  def start_chat(query,history):
 
49
  # hence, comment out line below when creating for first time
50
  #vectorstores = load_chunks()
51
  # once the vectore embeddings are created we will use qdrant client to access these
52
+ #try:
53
+ vectorstores = get_local_qdrant()
54
+ #except Exception as e:
55
+ # api = HfApi()
56
+ # api.restart_space(repo_id = "GIZ/audit_assistant", token=audit_space)
57
 
58
  #####---------------------CHAT-----------------------------------------------------
59
  def start_chat(query,history):