pavelwong commited on
Commit
04292bd
1 Parent(s): ecafa78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -1,3 +1,11 @@
 
1
  import gradio as gr
 
2
 
3
- gr.Interface.load("huggingface/EleutherAI/gpt-j-6B", title="AI Trial",description="Input text and submit!").launch()
 
 
 
 
 
 
 
1
+ #libraries
2
  import gradio as gr
3
+ from gradio.mix import Parallel
4
 
5
+ #variables, functions and parameters
6
+ model1=gr.Interface.load("huggingface/gpt2")
7
+ model2=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
8
+ model3=gr.Interface.load("huggingface/distilgpt2")
9
+
10
+ #funcations, parameters and variables
11
+ gr.Parallel(model1, model2, model3).launch()