Pavankalyan commited on
Commit
db5004d
1 Parent(s): 054f6fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,7 +1,10 @@
1
  import gradio as gr
 
2
  import pandas as pd
3
  from load_data import *
4
  import os
 
 
5
  #os.system("pip install git+https://github.com/openai/whisper.git")
6
  #import whisper
7
 
@@ -37,7 +40,7 @@ def chitti(query):
37
  answer_links.pop(idx)
38
 
39
  #return [res1,answers_re_table[0],res2,answers_re_table[1]]
40
- return [answers_re_table[0],answer_links[0],answers_re_table[1],answer_links[1]]
41
  #return [re_table[0][0],re_table[0][3],re_table[1][0],re_table[1][3]]
42
 
43
  demo = gr.Interface(
 
1
  import gradio as gr
2
+ from output_beautify import *
3
  import pandas as pd
4
  from load_data import *
5
  import os
6
+ from gingerit import *
7
+
8
  #os.system("pip install git+https://github.com/openai/whisper.git")
9
  #import whisper
10
 
 
40
  answer_links.pop(idx)
41
 
42
  #return [res1,answers_re_table[0],res2,answers_re_table[1]]
43
+ return [runGinger(answers_re_table[0]),answer_links[0],runGinger(answers_re_table[1]),answer_links[1]]
44
  #return [re_table[0][0],re_table[0][3],re_table[1][0],re_table[1][3]]
45
 
46
  demo = gr.Interface(