dream_II / app.py
lorenzoscottb's picture
Create app.py
72fadc4
raw
history blame
532 Bytes
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 = "Generate your own D&D story!"
title = "French Story Generator using Opus MT and GPT-2"
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()