Spaces:
Runtime error
Runtime error
Commit
·
924b1a4
1
Parent(s):
7624841
Update app.py
Browse files
app.py
CHANGED
@@ -14,9 +14,9 @@ def call_gradio_api(user_input):
|
|
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"
|
|
|
14 |
iface = gr.Interface(
|
15 |
fn=call_gradio_api,
|
16 |
inputs="text",
|
17 |
+
outputs = [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"
|