ttphong68 commited on
Commit
e9e5a42
·
1 Parent(s): 59ca206

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -14,10 +14,6 @@ def generate(starting_text):
14
  response=response+f"{i}: {gpt2_tkn.decode(x, skip_special_tokens=True)}"
15
  return response
16
 
17
-
18
-
19
-
20
-
21
  txt=grad.Textbox(lines=1, label="English", placeholder="English Text here")
22
  out=grad.Textbox(lines=1, label="Generated Tensors")
23
  grad.Interface(generate, inputs=txt, outputs=out).launch()
 
14
  response=response+f"{i}: {gpt2_tkn.decode(x, skip_special_tokens=True)}"
15
  return response
16
 
 
 
 
 
17
  txt=grad.Textbox(lines=1, label="English", placeholder="English Text here")
18
  out=grad.Textbox(lines=1, label="Generated Tensors")
19
  grad.Interface(generate, inputs=txt, outputs=out).launch()