damilojohn commited on
Commit
17256a2
Β·
1 Parent(s): 6a69ba8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -6,7 +6,7 @@ import torch
6
 
7
 
8
  tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
9
- Model = EncoderDecoderModel.from_pretrained('damilojohn/Bert2BertForTextDescrambling')
10
  def descramble(prompt):
11
  input = tokenizer(prompt,return_tensors='pt')
12
  input_id = input.input_ids
@@ -48,8 +48,7 @@ with demo:
48
  with gr.Column():
49
  gr.Markdown(
50
  '''
51
- ## Still Under Construction πŸ’€πŸŽƒβ³,
52
- anything you see take it like that
53
  ''')
54
  find_answer.click(
55
  fn=descramble,
 
6
 
7
 
8
  tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
9
+ Model = EncoderDecoderModel.from_pretrained('Bert2BertForTextDescrambling')
10
  def descramble(prompt):
11
  input = tokenizer(prompt,return_tensors='pt')
12
  input_id = input.input_ids
 
48
  with gr.Column():
49
  gr.Markdown(
50
  '''
51
+ ## Under Construction ⏳,
 
52
  ''')
53
  find_answer.click(
54
  fn=descramble,