Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,13 @@ def launch_interface():
|
|
95 |
]
|
96 |
outputs = gradio.outputs.Textbox(label="Our AI Lawyer Reply")
|
97 |
|
98 |
-
interface = gradio.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
interface.launch()
|
100 |
|
101 |
if __name__ == "__main__":
|
|
|
95 |
]
|
96 |
outputs = gradio.outputs.Textbox(label="Our AI Lawyer Reply")
|
97 |
|
98 |
+
interface = gradio.Interface(
|
99 |
+
fn=validate_passcode,
|
100 |
+
inputs=inputs,
|
101 |
+
outputs=outputs,
|
102 |
+
title="Westminster AI: AI Lawyer",
|
103 |
+
description="Specialised in Sri Lanka Law"
|
104 |
+
)
|
105 |
interface.launch()
|
106 |
|
107 |
if __name__ == "__main__":
|