Spaces:
Runtime error
Runtime error
freemt
commited on
Commit
·
145bd44
1
Parent(s):
44711b4
Branch to dev
Browse files- app.py +2 -1
- gradio_queue.db +0 -0
app.py
CHANGED
@@ -57,6 +57,7 @@ def ml_fn(
|
|
57 |
df = pd.DataFrame(pairs, columns=["text1", "text2", "llh"])
|
58 |
|
59 |
# return pd.DataFrame([["", "", ""]])
|
|
|
60 |
return df
|
61 |
|
62 |
|
@@ -68,6 +69,7 @@ mlbee = gr.Interface(
|
|
68 |
# gr.Checkbox(label="Split to sents?"),
|
69 |
],
|
70 |
outputs="dataframe",
|
|
|
71 |
title=f"radio-mlbee {__version__}",
|
72 |
description="mlbee rest api ",
|
73 |
examples=[
|
@@ -77,7 +79,6 @@ mlbee = gr.Interface(
|
|
77 |
]
|
78 |
)
|
79 |
|
80 |
-
|
81 |
mlbee.launch(
|
82 |
show_error=True,
|
83 |
enable_queue=True,
|
|
|
57 |
df = pd.DataFrame(pairs, columns=["text1", "text2", "llh"])
|
58 |
|
59 |
# return pd.DataFrame([["", "", ""]])
|
60 |
+
# return df.to_html()
|
61 |
return df
|
62 |
|
63 |
|
|
|
69 |
# gr.Checkbox(label="Split to sents?"),
|
70 |
],
|
71 |
outputs="dataframe",
|
72 |
+
# outputs="html",
|
73 |
title=f"radio-mlbee {__version__}",
|
74 |
description="mlbee rest api ",
|
75 |
examples=[
|
|
|
79 |
]
|
80 |
)
|
81 |
|
|
|
82 |
mlbee.launch(
|
83 |
show_error=True,
|
84 |
enable_queue=True,
|
gradio_queue.db
CHANGED
Binary files a/gradio_queue.db and b/gradio_queue.db differ
|
|