Spaces:
Sleeping
Sleeping
File size: 899 Bytes
cefcfbf 4ddd43e bcb1eec 4ddd43e 9a59127 cefcfbf bcb1eec 4ddd43e 9a59127 4ddd43e 9a59127 4ddd43e bcb1eec |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
import gradio as gr
from apps.asr import (
mic_transcribe_interface,
file_transcribe_interface
)
from apps.object_detection import obj_detection_interface
from apps.image_captioning import img_captioning_interface
from apps.ner import ner_interface
from apps.summarizer import summarizer_interface
app = gr.Blocks()
with app:
gr.TabbedInterface(
[
mic_transcribe_interface,
file_transcribe_interface,
obj_detection_interface,
img_captioning_interface,
ner_interface,
summarizer_interface
],
[
"Transcribe from Microphone",
"Transcribe from Audio File",
"Detect Objects from an Image",
"Generate a Caption for an Image",
"Named Entity Recogntion",
"Summarize Long-Form Text"
]
)
app.launch(share=True) |