Spaces:
Running
Running
Update app.py
Browse filestrying to see if I can have html output
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def greet(sentence):
|
|
| 14 |
return " • ".join(sp.encode_as_pieces(sentence))
|
| 15 |
|
| 16 |
|
| 17 |
-
demo = gr.Interface(fn=greet, inputs="text", outputs="
|
| 18 |
examples=examples, title="SentencePiece BPE",
|
| 19 |
description="Demo for SentencePiece BPE.",
|
| 20 |
cache_examples="lazy",
|
|
|
|
| 14 |
return " • ".join(sp.encode_as_pieces(sentence))
|
| 15 |
|
| 16 |
|
| 17 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="html",
|
| 18 |
examples=examples, title="SentencePiece BPE",
|
| 19 |
description="Demo for SentencePiece BPE.",
|
| 20 |
cache_examples="lazy",
|