Spaces:
Sleeping
Sleeping
Update ContentGradio.py
Browse files- ContentGradio.py +13 -13
ContentGradio.py
CHANGED
|
@@ -30,9 +30,9 @@ def get_example():
|
|
| 30 |
# Create the header section
|
| 31 |
def create_header():
|
| 32 |
|
| 33 |
-
agent_header =
|
| 34 |
-
|
| 35 |
-
|
| 36 |
with gr.Row():
|
| 37 |
gr.Markdown("<div id='header'>" + agent_header + "</div>")
|
| 38 |
|
|
@@ -40,16 +40,16 @@ def create_header():
|
|
| 40 |
def create_user_guidance():
|
| 41 |
|
| 42 |
guidance = """
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
with gr.Row():
|
| 54 |
gr.Markdown("<div id='user-guidance'>" + guidance+ "</div>")
|
| 55 |
|
|
|
|
| 30 |
# Create the header section
|
| 31 |
def create_header():
|
| 32 |
|
| 33 |
+
agent_header = """
|
| 34 |
+
#Content Agent
|
| 35 |
+
"""
|
| 36 |
with gr.Row():
|
| 37 |
gr.Markdown("<div id='header'>" + agent_header + "</div>")
|
| 38 |
|
|
|
|
| 40 |
def create_user_guidance():
|
| 41 |
|
| 42 |
guidance = """
|
| 43 |
+
Please enter text below to get started. The AI 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 |
+
App is running `deepseek-ai/DeepSeek-R1-Distill-Qwen-32B` text generation model.
|
| 50 |
+
Uses Intel's Polite Guard NLP library.
|
| 51 |
+
Compute is GCP · Nvidia L4 · 4x GPUs · 96 GB
|
| 52 |
+
"""
|
| 53 |
with gr.Row():
|
| 54 |
gr.Markdown("<div id='user-guidance'>" + guidance+ "</div>")
|
| 55 |
|