Spaces:
Runtime error
Runtime error
Update app.py
#1
by
akoksal
- opened
app.py
CHANGED
@@ -2,8 +2,6 @@ import gradio as gr
|
|
2 |
from transformers import AutoTokenizer, pipeline
|
3 |
import torch
|
4 |
|
5 |
-
|
6 |
-
|
7 |
tokenizer1 = AutoTokenizer.from_pretrained("notexist/tttff")
|
8 |
tdk1 = pipeline('text-generation', model='notexist/tttff', tokenizer=tokenizer1)
|
9 |
tokenizer2 = AutoTokenizer.from_pretrained("notexist/ttte")
|
|
|
2 |
from transformers import AutoTokenizer, pipeline
|
3 |
import torch
|
4 |
|
|
|
|
|
5 |
tokenizer1 = AutoTokenizer.from_pretrained("notexist/tttff")
|
6 |
tdk1 = pipeline('text-generation', model='notexist/tttff', tokenizer=tokenizer1)
|
7 |
tokenizer2 = AutoTokenizer.from_pretrained("notexist/ttte")
|