jthteo commited on
Commit
a174437
·
1 Parent(s): 058cddf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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['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'])
7
- io2 = gr.Interface.load("huggingface/jthteo/hokkientranslator_hk_en", api_key=os.environ['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'])
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":