Farsi, Ali commited on
Commit
c89f2ed
β€’
1 Parent(s): 8ea8a0e
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,10 +5,10 @@ tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
5
 
6
  sequence = "In a hole in the ground there lived a hobbit."
7
  res = tokenizer(sequence)
8
-
9
  def greet(name):
10
  return "Hello " + name + "!!"
11
 
12
- iface = gr.Interface(fn=greet, inputs="text", outputs=res)
13
  iface.launch()
14
 
 
5
 
6
  sequence = "In a hole in the ground there lived a hobbit."
7
  res = tokenizer(sequence)
8
+ print(res)
9
  def greet(name):
10
  return "Hello " + name + "!!"
11
 
12
+ iface = gr.Interface(fn=greet, inputs="text", outputs="test")
13
  iface.launch()
14