Spaces:
Build error
Build error
Gabriel
commited on
Commit
·
f8d166f
1
Parent(s):
ca4a2af
debug
Browse files
app.py
CHANGED
|
@@ -39,15 +39,11 @@ def main(job_title, company_name, company_desc, job_desc,
|
|
| 39 |
vals,indices = t_indep.max(dim=0)
|
| 40 |
t_indep = t_indep / vals
|
| 41 |
# return calc_preds(coeffs, t_indep)
|
| 42 |
-
return
|
| 43 |
|
| 44 |
iface = gr.Interface(
|
| 45 |
fn=main,
|
| 46 |
-
inputs=
|
| 47 |
-
gr.Textbox(label="Company description"), gr.Textbox(label="Job description"),
|
| 48 |
-
gr.Textbox(label="Job Requirements"), gr.Textbox(label="Salary"),
|
| 49 |
-
gr.Textbox(label="Location"), gr.Textbox(label="Employment Type"),
|
| 50 |
-
gr.Textbox(label="Department")],
|
| 51 |
outputs="text",
|
| 52 |
title="Real/Fake Job Posting Identifier",
|
| 53 |
description="Identifies job posts as real or fake."
|
|
|
|
| 39 |
vals,indices = t_indep.max(dim=0)
|
| 40 |
t_indep = t_indep / vals
|
| 41 |
# return calc_preds(coeffs, t_indep)
|
| 42 |
+
return job_title
|
| 43 |
|
| 44 |
iface = gr.Interface(
|
| 45 |
fn=main,
|
| 46 |
+
inputs="text",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
outputs="text",
|
| 48 |
title="Real/Fake Job Posting Identifier",
|
| 49 |
description="Identifies job posts as real or fake."
|