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

Update ui/contentagentui.py

Browse files
Files changed (1) hide show
  1. ui/contentagentui.py +4 -5
ui/contentagentui.py CHANGED
@@ -40,24 +40,23 @@ class ContentAgentUI:
40
  def _create_user_guidance(self):
41
 
42
  gr.Markdown("""
43
- Enter text below to get started. Content Agent will try to determine whether the language 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
  """)
52
 
53
- gr.Markdown(" ")
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 rather than using resources for 24 hrs/day, 7 days a week
60
-
61
  """)
62
 
63
 
 
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