Spaces:
Sleeping
Sleeping
Gabriel
commited on
Commit
·
e00628f
1
Parent(s):
61a175d
debug
Browse files
app.py
CHANGED
@@ -38,7 +38,8 @@ def main(job_title, company_name, company_desc, job_desc,
|
|
38 |
t_indep = tensor(df[indep_cols].values, dtype=torch.float)
|
39 |
vals,indices = t_indep.max(dim=0)
|
40 |
t_indep = t_indep / vals
|
41 |
-
return calc_preds(coeffs, t_indep)
|
|
|
42 |
|
43 |
iface = gr.Interface(
|
44 |
fn=main,
|
@@ -48,8 +49,8 @@ iface = gr.Interface(
|
|
48 |
gr.Textbox(label="Location"), gr.Textbox(label="Employment Type"),
|
49 |
gr.Textbox(label="Department")],
|
50 |
outputs="text",
|
51 |
-
title="Job
|
52 |
-
description="Identifies job posts as real or fake"
|
53 |
)
|
54 |
|
55 |
iface.launch()
|
|
|
38 |
t_indep = tensor(df[indep_cols].values, dtype=torch.float)
|
39 |
vals,indices = t_indep.max(dim=0)
|
40 |
t_indep = t_indep / vals
|
41 |
+
# return calc_preds(coeffs, t_indep)
|
42 |
+
return df
|
43 |
|
44 |
iface = gr.Interface(
|
45 |
fn=main,
|
|
|
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."
|
54 |
)
|
55 |
|
56 |
iface.launch()
|