Furkan Akkurt commited on
Commit
98d296a
·
1 Parent(s): f6ccd66

update app

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -7,5 +7,14 @@ def tokenize(data):
7
  result = { "tokens": response }
8
  return result
9
 
10
- iface = gr.Interface(fn=tokenize, inputs="text", outputs="text")
11
- iface.launch()
 
 
 
 
 
 
 
 
 
 
7
  result = { "tokens": response }
8
  return result
9
 
10
+ demo = gr.Interface(
11
+ fn=tokenize,
12
+ inputs="text",
13
+ outputs="text",
14
+ title="Tokenizer",
15
+ examples=[
16
+ "Ben oraya geliyorum.",
17
+ "Sen neden gelmiyorsun?"
18
+ ]
19
+ )
20
+ demo.launch()