Spaces:
Sleeping
Sleeping
Update ui/contentagentui.py
Browse files- ui/contentagentui.py +4 -4
ui/contentagentui.py
CHANGED
|
@@ -40,8 +40,7 @@ class ContentAgentUI:
|
|
| 40 |
|
| 41 |
def _create_user_guidance(self):
|
| 42 |
|
| 43 |
-
|
| 44 |
-
gr.Markdown("""
|
| 45 |
Please enter text below to get started. Content Agent will try to determine whether the language is polite and uses the following classification:
|
| 46 |
- `polite`
|
| 47 |
- `somewhat polite`
|
|
@@ -54,13 +53,14 @@ class ContentAgentUI:
|
|
| 54 |
""")
|
| 55 |
|
| 56 |
|
| 57 |
-
|
| 58 |
Technology:
|
| 59 |
- App is running `{self.agent_type}` text generation model.
|
| 60 |
- Agent uses Intel's Polite Guard NLP library tool
|
| 61 |
- Compute: {self.compute}
|
| 62 |
- Content Agent's LLM runs on-demand rather than using resources for 24 hrs/day, 7 days a week
|
| 63 |
-
|
|
|
|
| 64 |
|
| 65 |
def _get_css(self) -> str | None:
|
| 66 |
css_path = os.path.join(os.getcwd(), "ui", "styles.css")
|
|
|
|
| 40 |
|
| 41 |
def _create_user_guidance(self):
|
| 42 |
|
| 43 |
+
gr.Markdown("""
|
|
|
|
| 44 |
Please enter text below to get started. Content Agent will try to determine whether the language is polite and uses the following classification:
|
| 45 |
- `polite`
|
| 46 |
- `somewhat polite`
|
|
|
|
| 53 |
""")
|
| 54 |
|
| 55 |
|
| 56 |
+
gr.Markdown(f"""
|
| 57 |
Technology:
|
| 58 |
- App is running `{self.agent_type}` text generation model.
|
| 59 |
- Agent uses Intel's Polite Guard NLP library tool
|
| 60 |
- Compute: {self.compute}
|
| 61 |
- Content Agent's LLM runs on-demand rather than using resources for 24 hrs/day, 7 days a week
|
| 62 |
+
|
| 63 |
+
""")
|
| 64 |
|
| 65 |
def _get_css(self) -> str | None:
|
| 66 |
css_path = os.path.join(os.getcwd(), "ui", "styles.css")
|