yetessam commited on
Commit
719fb06
·
verified ·
1 Parent(s): 0504241

Update ui/contentagentui.py

Browse files
Files changed (1) hide show
  1. ui/contentagentui.py +6 -8
ui/contentagentui.py CHANGED
@@ -39,24 +39,22 @@ class ContentAgentUI:
39
 
40
  def _create_user_guidance(self):
41
 
42
- gr.Markdown("""
43
- Enter text below to get started.
44
-
45
- Content Agent will try to determine whether the language is polite and uses the following classification:
46
  - `polite`
47
  - `somewhat polite`
48
  - `neutral`
49
  - `impolite`
50
 
51
  The 0–1 number is the confidence for the current classification label (e.g., P(impolite) or P(polite)).
52
- """)
53
-
54
- gr.Markdown(f"""
55
- Technology:
56
  - App is running `{self.agent_type}` text generation model.
57
  - Agent uses Intel's Polite Guard NLP library tool
58
  - Compute: {self.compute}
59
  - Content Agent's LLM runs on-demand and will drop into sleep mode to save resources
 
 
60
  """)
61
 
62
 
 
39
 
40
  def _create_user_guidance(self):
41
 
42
+ gr.Markdown(f"""
43
+ Content Agent determines whether content is polite and uses the following classification:
 
 
44
  - `polite`
45
  - `somewhat polite`
46
  - `neutral`
47
  - `impolite`
48
 
49
  The 0–1 number is the confidence for the current classification label (e.g., P(impolite) or P(polite)).
50
+
51
+ Technology
 
 
52
  - App is running `{self.agent_type}` text generation model.
53
  - Agent uses Intel's Polite Guard NLP library tool
54
  - Compute: {self.compute}
55
  - Content Agent's LLM runs on-demand and will drop into sleep mode to save resources
56
+
57
+ Please add your content below.
58
  """)
59
 
60