awacke1 commited on
Commit
d4aeda9
1 Parent(s): 2ac9c48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -1
app.py CHANGED
@@ -1,7 +1,21 @@
1
  import gradio as gr
 
 
2
  description = "BigGAN text-to-image demo."
3
  title = "BigGAN ImageNet"
4
- interface = gr.Interface.load("huggingface/osanseviero/BigGAN-deep-128",
 
 
 
 
 
 
 
 
 
 
 
 
5
  description=description,
6
  title = title,
7
  examples=[
1
  import gradio as gr
2
+ from gradio.mix import Parallel, Series
3
+
4
  description = "BigGAN text-to-image demo."
5
  title = "BigGAN ImageNet"
6
+
7
+ Gans=["biggan-deep-128", "biggan-deep-256", "biggan-deep-512"]
8
+
9
+ io1 = gr.Interface.load('huggingface/osanseviero/BigGAN-deep-128')
10
+ io2 = gr.Interface.load("huggingface/osanseviero/BigGAN-deep-128")
11
+ io3 = gr.Interface.load("huggingface/osanseviero/BigGAN-deep-128")
12
+ #io3 = gr.Interface.load("huggingface/emilyalsentzer/Bio_Discharge_Summary_BERT")
13
+ #io3 = gr.Interface.load("huggingface/google/pegasus-pubmed")
14
+ #io3 = gr.Interface.load("huggingface/tennessejoyce/titlewave-t5-base")
15
+
16
+ # = Parallel(io1, io2, io3,
17
+
18
+ interface = Parallel(io1,io2,io3,
19
  description=description,
20
  title = title,
21
  examples=[