textgencompare / app.py
dpc's picture
Create app.py
a1cbf8e
raw history blame
No virus
226 Bytes
# https://huggingface.co/blog/gradio
import gradio as gr
from gradio.mix import Parallel
m1 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-2.7B")
m2 = gr.Interface.load("huggingface/gpt2")
Parallel(m1, m2).launch()