lancewilhelm commited on
Commit
eca12d7
1 Parent(s): a5f80bf

Updated suggested tone to be a dropdown option

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as annotator:
71
  with gr.Row():
72
  isCSContextuallyRelevant = gr.Radio(["1", "0"], label="Contextually Relevant?")
73
  isToneMatch = gr.Radio(["1", "0"], label="Tone Match?")
74
- suggestedTone = gr.Textbox(label='Suggested Tone', interactive=True)
75
  btn_annotate = gr.Button("Annotate")
76
 
77
  with gr.Row():
 
71
  with gr.Row():
72
  isCSContextuallyRelevant = gr.Radio(["1", "0"], label="Contextually Relevant?")
73
  isToneMatch = gr.Radio(["1", "0"], label="Tone Match?")
74
+ suggestedTone = gr.Dropdown(['', 'empathy', 'refutal', 'first_person', 'warn_of_conseq', 'humor', 'other'], label='Suggested Tone', interactive=True)
75
  btn_annotate = gr.Button("Annotate")
76
 
77
  with gr.Row():