darshil3011 commited on
Commit
7624841
·
1 Parent(s): 4431581

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -14,7 +14,9 @@ def call_gradio_api(user_input):
14
  iface = gr.Interface(
15
  fn=call_gradio_api,
16
  inputs="text",
17
- outputs=["text","text","text"],
 
 
18
  layout="vertical",
19
  title="CCL Playground",
20
  description="Enter a query to get response using RAG"
 
14
  iface = gr.Interface(
15
  fn=call_gradio_api,
16
  inputs="text",
17
+ gr.outputs.Textbox(label="Augmented Prompt"),
18
+ gr.outputs.Textbox(label="Response"),
19
+ gr.outputs.Textbox(label="Sources"),
20
  layout="vertical",
21
  title="CCL Playground",
22
  description="Enter a query to get response using RAG"