File size: 226 Bytes
a1cbf8e
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13

# 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()