Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def predict(text):
|
|
17 |
# Gradio interface to input text and output model predictions
|
18 |
iface = gr.Interface(
|
19 |
fn=predict,
|
20 |
-
inputs=gr.
|
21 |
outputs="json",
|
22 |
title="BlueBERT Testing",
|
23 |
description="Test BlueBERT on biomedical data or general text"
|
|
|
17 |
# Gradio interface to input text and output model predictions
|
18 |
iface = gr.Interface(
|
19 |
fn=predict,
|
20 |
+
inputs=gr.Textbox(lines=2, placeholder="Enter a sentence with [MASK]..."),
|
21 |
outputs="json",
|
22 |
title="BlueBERT Testing",
|
23 |
description="Test BlueBERT on biomedical data or general text"
|