Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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":
|