Spaces:
Sleeping
Sleeping
lorenzoscottb
commited on
Commit
β’
d503e75
1
Parent(s):
5482eed
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ pipe_S = pipeline(
|
|
82 |
truncation="do_not_truncate",
|
83 |
)
|
84 |
def predict(text):
|
85 |
-
t =
|
86 |
t = {list(dct.values())[0] : list(dct.values())[1] for dct in t[0]}
|
87 |
return t
|
88 |
interface_model_S = gr.Interface(
|
|
|
82 |
truncation="do_not_truncate",
|
83 |
)
|
84 |
def predict(text):
|
85 |
+
t = pipe_S(text)
|
86 |
t = {list(dct.values())[0] : list(dct.values())[1] for dct in t[0]}
|
87 |
return t
|
88 |
interface_model_S = gr.Interface(
|