Spaces:
Running
Running
removed custom submit btn
Browse files
app.py
CHANGED
@@ -36,7 +36,6 @@ demo = gr.Interface(
|
|
36 |
fn = predict,
|
37 |
inputs = gr.components.Textbox(label='Write your text here', lines=3),
|
38 |
outputs = gr.components.Label(label='Predictions', num_top_classes=6),
|
39 |
-
submit_btn = gr.Button("Classify", variant="primary"),
|
40 |
allow_flagging = 'never',
|
41 |
examples = [
|
42 |
["The gentle touch of your hand on mine is a silent promise that echoes through the corridors of my heart."],
|
|
|
36 |
fn = predict,
|
37 |
inputs = gr.components.Textbox(label='Write your text here', lines=3),
|
38 |
outputs = gr.components.Label(label='Predictions', num_top_classes=6),
|
|
|
39 |
allow_flagging = 'never',
|
40 |
examples = [
|
41 |
["The gentle touch of your hand on mine is a silent promise that echoes through the corridors of my heart."],
|