Spaces:
Runtime error
Runtime error
File size: 503 Bytes
c4a4b60 72fadc4 ac84af9 72fadc4 ac84af9 72fadc4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import os
import gradio as gr
from gradio.mix import Series
path_to_L_model = str(os.environ['path_to_L_model'])
read_token = str(os.environ['read_token'])
description = "Talk to Breud!"
title = "Breud (BERT + Freud)"
wisper = gr.Interface.load("models/openai/whisper-base")
interface_model_L = gr.Interface.load(
name=path_to_L_model,
api_key=read_token,
)
Series(
wisper,
interface_model_L,
description = description,
title = title,
).launch() |