Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
# https://huggingface.co/blog/gradio
|
3 |
+
|
4 |
+
import gradio as gr
|
5 |
+
from gradio.mix import Parallel
|
6 |
+
|
7 |
+
m1 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-2.7B")
|
8 |
+
|
9 |
+
m2 = gr.Interface.load("huggingface/gpt2")
|
10 |
+
|
11 |
+
Parallel(m1, m2).launch()
|
12 |
+
|