corasan commited on
Commit
805422f
1 Parent(s): 7328020

Update app.py

Browse files

trying to see if I can have html output

Files changed (1) hide show
  1. app.py +1 -1
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="text",
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",