elshehawy commited on
Commit
a6669f5
·
1 Parent(s): 8d1089d

add label for radio buttons

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def find_orgs(sentence, choice):
55
  example = """
56
  My latest exclusive for The Hill : Conservative frustration over Republican efforts to force a House vote on reauthorizing the Export - Import Bank boiled over Wednesday during a contentious GOP meeting.
57
  """
58
- radio_btn = gr.Radio(choices=['GPT', 'iSemantics'], value='iSemantics')
59
  textbox = gr.Textbox(label="Enter your text", placeholder="", lines=4)
60
 
61
  iface = gr.Interface(fn=find_orgs, inputs=[textbox, radio_btn], outputs="text", examples=[[example]])
 
55
  example = """
56
  My latest exclusive for The Hill : Conservative frustration over Republican efforts to force a House vote on reauthorizing the Export - Import Bank boiled over Wednesday during a contentious GOP meeting.
57
  """
58
+ radio_btn = gr.Radio(choices=['GPT', 'iSemantics'], value='iSemantics', label='Available models')
59
  textbox = gr.Textbox(label="Enter your text", placeholder="", lines=4)
60
 
61
  iface = gr.Interface(fn=find_orgs, inputs=[textbox, radio_btn], outputs="text", examples=[[example]])