danieldux commited on
Commit
7ad6122
·
verified ·
1 Parent(s): 043d807

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,8 +22,8 @@ def classify_text(text):
22
  # Create the Gradio interface
23
  demo = gr.Interface(
24
  fn=classify_text,
25
- inputs=gr.Textbox(lines=2, placeholder="Enter text here..."),
26
- outputs=[gr.Textbox(label="Label"), gr.Number(label="Score")],
27
  title="XLM-R ISCO classification with ZeroGPU",
28
  description="Classify occupations using a pre-trained XLM-R-ISCO model on Hugging Face Spaces with ZeroGPU"
29
  )
 
22
  # Create the Gradio interface
23
  demo = gr.Interface(
24
  fn=classify_text,
25
+ inputs=gr.Textbox(lines=2, label="Job description text", placeholder="Enter a job description..."),
26
+ outputs=[gr.Textbox(label="ISCO-08 Label"), gr.Number(label="Score")],
27
  title="XLM-R ISCO classification with ZeroGPU",
28
  description="Classify occupations using a pre-trained XLM-R-ISCO model on Hugging Face Spaces with ZeroGPU"
29
  )