Spaces:
Runtime error
Runtime error
damilojohn
commited on
Commit
·
9e8b8f9
1
Parent(s):
5eb7463
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
import pandas as pd
|
5 |
import torch
|
6 |
|
7 |
-
|
8 |
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
|
9 |
Model = EncoderDecoderModel.from_pretrained('damilojohn/Bert2BertForTextDescrambling')
|
10 |
def descramble(prompt):
|
|
|
4 |
import pandas as pd
|
5 |
import torch
|
6 |
|
7 |
+
#loading tokenizer and model
|
8 |
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
|
9 |
Model = EncoderDecoderModel.from_pretrained('damilojohn/Bert2BertForTextDescrambling')
|
10 |
def descramble(prompt):
|