Spaces:
Runtime error
Runtime error
add label for radio buttons
Browse files
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]])
|