tykiww commited on
Commit
2129e96
1 Parent(s): bb2fd4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -9,8 +9,7 @@ from server import EmbeddingService, QAService
9
 
10
 
11
  #################### Functions ####################
12
- def process_transcripts(inputs):
13
- files, context = inputs
14
  print(files)
15
  print(context)
16
  #with EmbeddingService(conf) as e:
@@ -44,7 +43,7 @@ def main(conf):
44
  file_types=[".vtt"])
45
  goals = gr.Textbox(label="Goals for the Meeting",
46
  value=conf["defaults"]["goals"]) # not incorporated yet. Will be with Q&A.
47
- repository = gr.Textbox(label="Blank", visible=False) # since there is no output.
48
  load_file.upload(process_transcripts, [load_file, goals], repository)
49
 
50
 
 
9
 
10
 
11
  #################### Functions ####################
12
+ def process_transcripts(files, inputs):
 
13
  print(files)
14
  print(context)
15
  #with EmbeddingService(conf) as e:
 
43
  file_types=[".vtt"])
44
  goals = gr.Textbox(label="Goals for the Meeting",
45
  value=conf["defaults"]["goals"]) # not incorporated yet. Will be with Q&A.
46
+ repository = gr.Textbox(label="Blank", visible=True) # since there is no output.
47
  load_file.upload(process_transcripts, [load_file, goals], repository)
48
 
49