Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,8 @@ import gradio as gr
|
|
3 |
import numpy as np
|
4 |
|
5 |
|
6 |
-
io1 = gr.Interface.load("huggingface/jthteo/hokkientranslator_en_hk", api_key=os.environ['
|
7 |
-
io2 = gr.Interface.load("huggingface/jthteo/hokkientranslator_hk_en", api_key=os.environ['
|
8 |
|
9 |
def inference(audio, model):
|
10 |
if model == "hokkientranslator_en_hk":
|
|
|
3 |
import numpy as np
|
4 |
|
5 |
|
6 |
+
io1 = gr.Interface.load("huggingface/jthteo/hokkientranslator_en_hk", api_key=os.environ['api_key'])
|
7 |
+
io2 = gr.Interface.load("huggingface/jthteo/hokkientranslator_hk_en", api_key=os.environ['api_key'])
|
8 |
|
9 |
def inference(audio, model):
|
10 |
if model == "hokkientranslator_en_hk":
|