akhaliq HF staff commited on
Commit
f1dd9cb
1 Parent(s): 7e0be89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ io8 = gr.Interface.load("huggingface/facebook/xm_transformer_600m-en_tr-multi_do
35
 
36
  def inference(text,model):
37
  outtext = np.zeros(shape=(5,2))
38
- print(model)
39
  if model == "xm_transformer_600m-es_en-multi_domain":
40
  outtext = io1(text)
41
  elif model == "xm_transformer_600m-ru_en-multi_domain":
 
35
 
36
  def inference(text,model):
37
  outtext = np.zeros(shape=(5,2))
38
+ print(text, model)
39
  if model == "xm_transformer_600m-es_en-multi_domain":
40
  outtext = io1(text)
41
  elif model == "xm_transformer_600m-ru_en-multi_domain":