laitkor commited on
Commit
d7863a8
·
verified ·
1 Parent(s): 5079680

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -96,11 +96,11 @@ def rag_pipeline(query):
96
  return question, context, answer
97
 
98
  iface = gr.Interface(
99
- fn=[rag_pipeline, generate_support_document],
100
- inputs=["text", "text"],
101
- outputs=["text", "text", "text", "text"],
102
  title="RAG Pipeline for Product Support",
103
- description="Ask a question about product support and get a detailed answer. Generate new support documents based on prompts."
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()