Lord-Raven
commited on
Commit
·
374cec5
1
Parent(s):
bdd14b5
Trying to fix parameter issue.
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ classifier = pipeline(
|
|
17 |
function_to_apply="sigmoid", # optional as is the default for the task
|
18 |
)
|
19 |
|
20 |
-
def predict(
|
21 |
-
return classifier(
|
22 |
|
23 |
demo = gr.Interface(
|
24 |
fn = predict,
|
|
|
17 |
function_to_apply="sigmoid", # optional as is the default for the task
|
18 |
)
|
19 |
|
20 |
+
def predict(param_0):
|
21 |
+
return classifier(param_0)
|
22 |
|
23 |
demo = gr.Interface(
|
24 |
fn = predict,
|