Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,10 +3,12 @@ import gradio as gr
|
|
| 3 |
def reflex_guard_sim(input_text):
|
| 4 |
return f"🛡️ ReflexGuard received: {input_text}"
|
| 5 |
|
| 6 |
-
demo = gr.Interface(
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
| 11 |
|
| 12 |
demo.launch()
|
|
|
|
| 3 |
def reflex_guard_sim(input_text):
|
| 4 |
return f"🛡️ ReflexGuard received: {input_text}"
|
| 5 |
|
| 6 |
+
demo = gr.Interface(
|
| 7 |
+
fn=reflex_guard_sim,
|
| 8 |
+
inputs="text",
|
| 9 |
+
outputs="text",
|
| 10 |
+
title="Codex ReflexGuard Live",
|
| 11 |
+
description="Send a simulated command to the ReflexGuard system."
|
| 12 |
+
)
|
| 13 |
|
| 14 |
demo.launch()
|