CoolFace
Apppublic

abidlabs/german-completion

sourceHugging Faceupdated 5y agoView on Hugging Face
0likes
app.py7 linesDownload Raw Back to root
1import gradio as gr2 3generator = gr.Interface.load("huggingface/gpt2")4translator = gr.Interface.load("huggingface/t5-small")5 6gr.Series(generator, translator).launch()  # this demo generates text, then translates it to German, and outputs the final result.7