Spaces:
Runtime error
Runtime error
rajesh1729
commited on
Commit
·
86613a4
1
Parent(s):
9a2882a
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def qas(context, question):
|
|
12 |
|
13 |
|
14 |
|
15 |
-
interface = gr.Interface.
|
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()
|