kargaranamir commited on
Commit
28913e1
1 Parent(s): a3a025c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -146,11 +146,13 @@ model_choice = gr.Radio(choices=["GlotLID", "OpenLID", "NLLB"], label="Select Mo
146
  output_explanation = gr.outputs.File(label="Explanation HTML")
147
 
148
 
 
149
  iface = gr.Interface(merge_function,
150
  inputs=[input_text, model_choice],
151
  outputs=[gr.Image(type="pil", height=364, width=683, label = "Explanation Image"), output_explanation],
152
  title="LIME LID",
153
  description="This code applies LIME (Local Interpretable Model-Agnostic Explanations) on fasttext language identification.",
154
- allow_flagging='never')
 
155
 
156
  iface.launch()
 
146
  output_explanation = gr.outputs.File(label="Explanation HTML")
147
 
148
 
149
+
150
  iface = gr.Interface(merge_function,
151
  inputs=[input_text, model_choice],
152
  outputs=[gr.Image(type="pil", height=364, width=683, label = "Explanation Image"), output_explanation],
153
  title="LIME LID",
154
  description="This code applies LIME (Local Interpretable Model-Agnostic Explanations) on fasttext language identification.",
155
+ allow_flagging='never',
156
+ css = ".gradio-container {background-color: white}")
157
 
158
  iface.launch()