text-humanizer / app.py
BugZoid's picture
Create app.py
d665c22 verified
raw
history blame
246 Bytes
import streamlit as st
from transformers import T5Tokenizer, T5ForConditionalGeneration
# Carregar o modelo T5-small e o tokenizer
tokenizer = T5Tokenizer.from_pretrained("t5-small")
model = T5ForConditionalGeneration.from_pretrained("t5-small")