Spaces:
Sleeping
Sleeping
Gabriel
commited on
Commit
·
63e2fd7
1
Parent(s):
0744724
debug
Browse files
app.py
CHANGED
@@ -43,9 +43,9 @@ def preprocess_input(input_data):
|
|
43 |
|
44 |
return t_indep
|
45 |
|
46 |
-
def main(inputs):
|
47 |
-
|
48 |
-
|
49 |
|
50 |
def main(job_title, company_name, company_desc, job_desc,
|
51 |
job_requirement, salary, location, employment_type,
|
@@ -55,8 +55,9 @@ def main(job_title, company_name, company_desc, job_desc,
|
|
55 |
department]
|
56 |
|
57 |
t_indep = preprocess_input(inputs)
|
58 |
-
|
59 |
-
return calc_preds(coeffs, t_indep)
|
|
|
60 |
|
61 |
iface = gr.Interface(
|
62 |
fn=main,
|
|
|
43 |
|
44 |
return t_indep
|
45 |
|
46 |
+
# def main(inputs):
|
47 |
+
# t_indep = preprocess_input(inputs)
|
48 |
+
# return calc_preds(coeffs, t_indep)
|
49 |
|
50 |
def main(job_title, company_name, company_desc, job_desc,
|
51 |
job_requirement, salary, location, employment_type,
|
|
|
55 |
department]
|
56 |
|
57 |
t_indep = preprocess_input(inputs)
|
58 |
+
|
59 |
+
# return calc_preds(coeffs, t_indep)
|
60 |
+
return t_indep,
|
61 |
|
62 |
iface = gr.Interface(
|
63 |
fn=main,
|