aliabid94 HF staff commited on
Commit
41afbd6
1 Parent(s): e5cc4c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -28,5 +28,13 @@ demo = gr.Interface(
28
  ]
29
  )
30
 
 
 
 
 
 
 
 
 
31
  if __name__ == "__main__":
32
- demo.launch()
 
28
  ]
29
  )
30
 
31
+ demo2 = gr.Interface(lambda x:x, gr.Dropdown(["Apple", "App", "Appa"]), "text")
32
+
33
+ with gr.Blocks() as mega_demo:
34
+ with gr.Tab("demo1"):
35
+ demo.render()
36
+ with gr.Tab("demo2"):
37
+ demo2.render()
38
+
39
  if __name__ == "__main__":
40
+ mega_demo.launch()