Update app.py
Browse files
app.py
CHANGED
@@ -96,11 +96,11 @@ def rag_pipeline(query):
|
|
96 |
return question, context, answer
|
97 |
|
98 |
iface = gr.Interface(
|
99 |
-
fn=
|
100 |
-
inputs=
|
101 |
-
outputs=["text", "text", "text"
|
102 |
title="RAG Pipeline for Product Support",
|
103 |
-
description="Ask a question about product support and get a detailed answer.
|
104 |
)
|
105 |
|
106 |
iface.launch()
|
|
|
96 |
return question, context, answer
|
97 |
|
98 |
iface = gr.Interface(
|
99 |
+
fn=rag_pipeline,
|
100 |
+
inputs="text",
|
101 |
+
outputs=["text", "text", "text"],
|
102 |
title="RAG Pipeline for Product Support",
|
103 |
+
description="Ask a question about product support and get a detailed answer."
|
104 |
)
|
105 |
|
106 |
iface.launch()
|