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

Add application file

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -129,7 +129,7 @@ def remove_non_ascii(text):
129
 
130
 
131
 
132
- article_text = "## Is this working as markdown? \n Hopefully"
133
 
134
  # Apply the function to your Markdown strings
135
 
@@ -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 = gr.Markdown(article_text),
144
  allow_flagging = 'manual',
145
  flagging_options = ['Wrong category','Lacks a category'],
146
  flagging_callback= hf_writer
 
129
 
130
 
131
 
132
+ article_text = "<h1> Is this working as markdown</h1> \n Hopefully"
133
 
134
  # Apply the function to your Markdown strings
135
 
 
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