vtiw commited on
Commit
7a180a8
·
verified ·
1 Parent(s): 0702769

Update app.py

Browse files

added gradio tabs

Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -93,5 +93,10 @@ with gr.Blocks() as demo_t2tt:
93
  api_name="t2tt",
94
  )
95
 
 
 
 
 
 
96
  if __name__ == "__main__":
97
  demo_t2tt.launch()
 
93
  api_name="t2tt",
94
  )
95
 
96
+ with gr.Blocks() as demo:
97
+ with gr.Tabs():
98
+ with gr.Tab(label="Translate"):
99
+ demo_t2tt.render()
100
+
101
  if __name__ == "__main__":
102
  demo_t2tt.launch()