lorenzoscottb commited on
Commit
874e492
Β·
verified Β·
1 Parent(s): 144e583

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -78,12 +78,12 @@ interface_words = gr.Interface(
78
  examples=example_main,
79
  )
80
 
81
- interface_model_L = gr.Interface.load(
82
- "models/DReAMy-lib/xlm-roberta-large-DreamBank-emotion-presence",
83
  description=description_L,
84
  examples=examples,
85
  title="SA Large Multilingual",
86
  )
 
87
 
88
  interface_model_S = gr.Interface.load(
89
  "models/DReAMy-lib/bert-base-cased-DreamBank-emotion-presence",
 
78
  examples=example_main,
79
  )
80
 
81
+ interface_model_L = gr.Interface(
 
82
  description=description_L,
83
  examples=examples,
84
  title="SA Large Multilingual",
85
  )
86
+ interface_model_L.load("models/DReAMy-lib/xlm-roberta-large-DreamBank-emotion-presence",)
87
 
88
  interface_model_S = gr.Interface.load(
89
  "models/DReAMy-lib/bert-base-cased-DreamBank-emotion-presence",