Spaces:
Sleeping
Sleeping
lorenzoscottb
commited on
Commit
β’
101c384
1
Parent(s):
2640782
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ pipe_L = pipeline(
|
|
79 |
truncation="do_not_truncate",
|
80 |
)
|
81 |
def predictL(text):
|
82 |
-
t =
|
83 |
t = {list(dct.values())[0] : list(dct.values())[1] for dct in t[0]}
|
84 |
return t
|
85 |
interface_model_L = gr.Interface(
|
|
|
79 |
truncation="do_not_truncate",
|
80 |
)
|
81 |
def predictL(text):
|
82 |
+
t = pipe_L(text)
|
83 |
t = {list(dct.values())[0] : list(dct.values())[1] for dct in t[0]}
|
84 |
return t
|
85 |
interface_model_L = gr.Interface(
|