tykiww commited on
Commit
d959e7d
·
verified ·
1 Parent(s): 0527576

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -13,10 +13,10 @@ from server import EmbeddingService, QAService
13
  def process_transcripts(files, context):
14
 
15
  time.sleep(15)
16
- #with EmbeddingService(conf) as e:
17
- # e.run(files)
18
  # some way to wait or a progress bar?
19
- return "Completed Loading Data"
20
 
21
 
22
  def retrieve_answer(question):
 
13
  def process_transcripts(files, context):
14
 
15
  time.sleep(15)
16
+ with EmbeddingService(conf) as e:
17
+ f = e.run(files)
18
  # some way to wait or a progress bar?
19
+ return f # "Completed Loading Data"
20
 
21
 
22
  def retrieve_answer(question):