Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
tanveeshsingh
commited on
Commit
•
9a3ebc3
1
Parent(s):
b65a52e
Update Examples
Browse files
app.py
CHANGED
@@ -86,11 +86,11 @@ with gr.Blocks() as demo:
|
|
86 |
input_style_dropdown = gr.Dropdown(label="Input Style", choices=["Conv", "NLI", "QA format"], value="Conv", visible=True)
|
87 |
|
88 |
with gr.Row():
|
89 |
-
document_input = gr.Textbox(label="Document", lines=5, visible=True, value="
|
90 |
-
conversation_input = gr.Textbox(label="Conversation", lines=5, visible=True, value='[{"role": "user", "content": "
|
91 |
-
claim_input = gr.Textbox(label="Claim", lines=5, visible=False, value="
|
92 |
-
question_input = gr.Textbox(label="Question", lines=5, visible=False, value="Where is
|
93 |
-
answer_input = gr.Textbox(label="Answer", lines=5, visible=False, value="
|
94 |
|
95 |
with gr.Row():
|
96 |
result_output = gr.Textbox(label="Veritas Model")
|
|
|
86 |
input_style_dropdown = gr.Dropdown(label="Input Style", choices=["Conv", "NLI", "QA format"], value="Conv", visible=True)
|
87 |
|
88 |
with gr.Row():
|
89 |
+
document_input = gr.Textbox(label="Document", lines=5, visible=True, value="Alex is a good boy. He stays in California")
|
90 |
+
conversation_input = gr.Textbox(label="Conversation", lines=5, visible=True, value='[{"role": "user", "content": "Where is Alex born?"}, {"role": "assistant", "content": "Alex stays in California"}]')
|
91 |
+
claim_input = gr.Textbox(label="Claim", lines=5, visible=False, value="Alex stays in California")
|
92 |
+
question_input = gr.Textbox(label="Question", lines=5, visible=False, value="Where is Alex born?")
|
93 |
+
answer_input = gr.Textbox(label="Answer", lines=5, visible=False, value="Alex stays in California")
|
94 |
|
95 |
with gr.Row():
|
96 |
result_output = gr.Textbox(label="Veritas Model")
|