import gradio as gr from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline import torch import re import spaces def split_into_sentences(text): sentence_endings = re.compile(r'(?