Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
efae5b4
1
Parent(s):
c6b5419
:memo: update the text on widget
Browse files- RAG-demo.py +4 -4
RAG-demo.py
CHANGED
|
@@ -78,11 +78,11 @@ def create_interface():
|
|
| 78 |
with gr.Row():
|
| 79 |
submit_btn = gr.Button("Ask")
|
| 80 |
with gr.Row():
|
| 81 |
-
input1 = gr.Textbox(label="
|
| 82 |
-
input2 = gr.Textbox(label="
|
| 83 |
with gr.Row():
|
| 84 |
-
output1 = gr.Textbox(label="
|
| 85 |
-
output2 = gr.Textbox(label="
|
| 86 |
|
| 87 |
submit_btn.click(
|
| 88 |
fn=gradio_func,
|
|
|
|
| 78 |
with gr.Row():
|
| 79 |
submit_btn = gr.Button("Ask")
|
| 80 |
with gr.Row():
|
| 81 |
+
input1 = gr.Textbox(label="non-RAG input", interactive=False)
|
| 82 |
+
input2 = gr.Textbox(label="RAG input", interactive=False)
|
| 83 |
with gr.Row():
|
| 84 |
+
output1 = gr.Textbox(label="non-RAG output", interactive=False)
|
| 85 |
+
output2 = gr.Textbox(label="RAG output", interactive=False)
|
| 86 |
|
| 87 |
submit_btn.click(
|
| 88 |
fn=gradio_func,
|