rajesh1729 commited on
Commit
86613a4
·
1 Parent(s): 9a2882a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def qas(context, question):
12
 
13
 
14
 
15
- interface = gr.Interface.load(fn=qas,
16
  title = title,
17
  theme = "peach",
18
  examples = [[context, question]]).launch()
 
12
 
13
 
14
 
15
+ interface = gr.Interface.from_pipeline(fn=qas,
16
  title = title,
17
  theme = "peach",
18
  examples = [[context, question]]).launch()