Spaces:
Sleeping
Sleeping
Update ui/contentagentui.py
Browse files- ui/contentagentui.py +5 -5
ui/contentagentui.py
CHANGED
|
@@ -41,15 +41,15 @@ class ContentAgentUI:
|
|
| 41 |
|
| 42 |
gr.Markdown(f"""
|
| 43 |
Content Agent determines whether content is polite and uses the following classification:
|
| 44 |
-
-
|
| 45 |
-
-
|
| 46 |
-
-
|
| 47 |
-
-
|
| 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
|
| 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
|
|
|
|
| 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
|