peterkros commited on
Commit
ff4cda5
·
1 Parent(s): 444f952

Update app.py

Browse files

Updated model accuracy

Files changed (1) hide show
  1. app.py +3 -3
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-base-uncased, 110M, English.
27
  - Input one budget line per time.
28
- - Accuracy of the model is ~72%.
29
  """
30
 
31
  iface = gr.Interface(
32
  fn=predict,
33
- inputs=gr.components.Textbox(lines=2, 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,
 
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,