darshil3011 commited on
Commit
9267364
·
1 Parent(s): a168a16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -10,10 +10,11 @@ def call_gradio_api(user_input):
10
  # Interface for the Gradio app
11
  iface = gr.Interface(
12
  fn=call_gradio_api,
13
- inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
14
- outputs=[gr.outputs.Textbox(label="Output 1"),
15
- gr.outputs.Textbox(label="Output 2"),
16
- gr.outputs.Textbox(label="Output 3")]
 
17
  )
18
 
19
  # Launch the Gradio app
 
10
  # Interface for the Gradio app
11
  iface = gr.Interface(
12
  fn=call_gradio_api,
13
+ inputs="text",
14
+ outputs=["json","json","json"],
15
+ layout="vertical",
16
+ title="CCL Playground",
17
+ description="Enter a query to get response using RAG"
18
  )
19
 
20
  # Launch the Gradio app