nalinaksh commited on
Commit
ac1eb45
·
1 Parent(s): dccc40c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
- from QA_Pipeline import *
3
- #from QA_Tensorflow import *
4
 
5
  question = "What is Pragyan?"
6
  context = "Chandrayaan-3 is the third and most recent lunar Indian Space Research exploration mission under the Chandrayaan programme of ISRO. It consists of a lander named Vikram and a rover named Pragyan similar to Chandrayaan-2. Its propulsion module behaves like a communication relay satellite."
@@ -11,7 +11,7 @@ description = """
11
  """
12
  question_box = gr.Textbox(label="Question:", placeholder="What is Pragyan?", lines=2)
13
  context_box = gr.Textbox(label="Context", placeholder=context, lines=10)
14
- demo = gr.Interface(fn=question_answering_pipeline,
15
  inputs=[question_box, context_box],
16
  outputs="text",
17
  title=title,
 
1
  import gradio as gr
2
+ #from QA_Pipeline import *
3
+ from QA_Tensorflow import *
4
 
5
  question = "What is Pragyan?"
6
  context = "Chandrayaan-3 is the third and most recent lunar Indian Space Research exploration mission under the Chandrayaan programme of ISRO. It consists of a lander named Vikram and a rover named Pragyan similar to Chandrayaan-2. Its propulsion module behaves like a communication relay satellite."
 
11
  """
12
  question_box = gr.Textbox(label="Question:", placeholder="What is Pragyan?", lines=2)
13
  context_box = gr.Textbox(label="Context", placeholder=context, lines=10)
14
+ demo = gr.Interface(fn=question_answering_tf,
15
  inputs=[question_box, context_box],
16
  outputs="text",
17
  title=title,