Cristóbal Hernández commited on
Commit
d57ff46
·
1 Parent(s): 3a93c41

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ demo = gr.Interface(fn=classify_output, inputs=txtbx, outputs=txtbxopt,
140
  theme = gr.themes.Soft(primary_hue='orange'),
141
  title = 'EEMM Item Classification Machine V 0.5',
142
  description = 'This machine is a fine tuned version of DistillBERT. It classifies items in 7 EEMM dimensions following (ref). **Please note that the machine goes idle after a period of inactivity. If this occurs, waking it up may take around 20 seconds. Be patient ;)**',
143
- article = article_text,
144
  allow_flagging = 'manual',
145
  flagging_options = ['Wrong category','Lacks a category'],
146
  flagging_callback= hf_writer
 
140
  theme = gr.themes.Soft(primary_hue='orange'),
141
  title = 'EEMM Item Classification Machine V 0.5',
142
  description = 'This machine is a fine tuned version of DistillBERT. It classifies items in 7 EEMM dimensions following (ref). **Please note that the machine goes idle after a period of inactivity. If this occurs, waking it up may take around 20 seconds. Be patient ;)**',
143
+ article = gr.Markdown(article_text),
144
  allow_flagging = 'manual',
145
  flagging_options = ['Wrong category','Lacks a category'],
146
  flagging_callback= hf_writer