pokung commited on
Commit
9fe26be
·
verified ·
1 Parent(s): 1ccb8ec

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -0
app.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from src.models.pipeline import PIPELINE
3
+ from src.content.transcription_tab import transcription_tab
4
+ from src.content.about_tab import about_tab
5
+ from src.content.contact_tab import contact_tab
6
+ from src.content.front_image import image_tab
7
+ from src.content.method_tab import method_tab
8
+
9
+
10
+
11
+
12
+
13
+
14
+ with gr.Blocks(theme='Taithrah/Minimal') as demo:
15
+
16
+
17
+ image_tab()
18
+ with gr.Tabs():
19
+ about_tab()
20
+ method_tab()
21
+ transcription_tab(PIPELINE)
22
+ contact_tab()
23
+
24
+ demo.launch()