tanveeshsingh commited on
Commit
9a3ebc3
1 Parent(s): b65a52e

Update Examples

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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="Chris Voss is one of the best negotiators in the world. And he was born in Iowa, USA.")
90
- conversation_input = gr.Textbox(label="Conversation", lines=5, visible=True, value='[{"role": "user", "content": "Hi Chris Voss, Where are you born?"}, {"role": "assistant", "content": "I am born in Iowa"}]')
91
- claim_input = gr.Textbox(label="Claim", lines=5, visible=False, value="CV was born in Iowa")
92
- question_input = gr.Textbox(label="Question", lines=5, visible=False, value="Where is Chris Voss born?")
93
- answer_input = gr.Textbox(label="Answer", lines=5, visible=False, value="CV was born in Iowa")
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")