Spaces:
Sleeping
Sleeping
Update app.py
Browse filesUpdated model accuracy
app.py
CHANGED
@@ -23,14 +23,14 @@ def predict(text):
|
|
23 |
|
24 |
# Define the markdown text with bullet points
|
25 |
markdown_text = """
|
26 |
-
- Trained with ~1500 rows of data on bert-
|
27 |
- Input one budget line per time.
|
28 |
-
- Accuracy of the model is ~
|
29 |
"""
|
30 |
|
31 |
iface = gr.Interface(
|
32 |
fn=predict,
|
33 |
-
inputs=gr.components.Textbox(lines=
|
34 |
outputs=gr.components.Textbox(label="Classification Output"),
|
35 |
title="COFOG Level 1 Classification",
|
36 |
description=markdown_text,
|
|
|
23 |
|
24 |
# Define the markdown text with bullet points
|
25 |
markdown_text = """
|
26 |
+
- Trained with ~1500 rows of data on bert-large-uncased, 110M, English.
|
27 |
- Input one budget line per time.
|
28 |
+
- Accuracy of the model is ~80%.
|
29 |
"""
|
30 |
|
31 |
iface = gr.Interface(
|
32 |
fn=predict,
|
33 |
+
inputs=gr.components.Textbox(lines=1, placeholder="Enter Budget line here...", label="Budget Input"),
|
34 |
outputs=gr.components.Textbox(label="Classification Output"),
|
35 |
title="COFOG Level 1 Classification",
|
36 |
description=markdown_text,
|