Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
-
import
|
| 2 |
-
from pathlib import Path
|
| 3 |
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
sys.path.append(str(ROOT_DIR))
|
| 7 |
-
# ------------------------------------
|
| 8 |
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
|
|
|
| 1 |
+
import gradio as gr
|
|
|
|
| 2 |
|
| 3 |
+
def greet(text):
|
| 4 |
+
return f"You typed: {text}"
|
|
|
|
|
|
|
| 5 |
|
| 6 |
+
demo = gr.Interface(
|
| 7 |
+
fn=greet,
|
| 8 |
+
inputs=gr.Textbox(label="Input"),
|
| 9 |
+
outputs=gr.Textbox(label="Output"),
|
| 10 |
+
title="BRD Audit (Test)"
|
| 11 |
+
)
|
| 12 |
|
| 13 |
+
if __name__ == "__main__":
|
| 14 |
+
demo.launch()
|