Spaces:
Running
Running
gabrielchua
commited on
Commit
•
ce41854
1
Parent(s):
4042688
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,8 @@ def predict(system_prompt, user_prompt):
|
|
30 |
|
31 |
with gr.Blocks(theme=gr.themes.Soft(), fill_height=True) as app:
|
32 |
|
33 |
-
gr.Markdown("# Off-Topic
|
|
|
34 |
|
35 |
with gr.Row():
|
36 |
system_prompt = gr.TextArea(label="System Prompt", lines=5)
|
|
|
30 |
|
31 |
with gr.Blocks(theme=gr.themes.Soft(), fill_height=True) as app:
|
32 |
|
33 |
+
gr.Markdown("# Off-Topic Detection")
|
34 |
+
gr.Markdown("This is a CPU-only demo for `govtech/jina-embeddings-v2-small-en-off-topic` and `govtech/stsb-roberta-base-off-topic`")
|
35 |
|
36 |
with gr.Row():
|
37 |
system_prompt = gr.TextArea(label="System Prompt", lines=5)
|