Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -62,11 +62,10 @@ def main():
|
|
62 |
outputs=["text", "number", "text"],
|
63 |
title="AI Grammar Checker",
|
64 |
description="Speak or type a sentence to check its grammar, get corrections, and see a score.",
|
65 |
-
live=False, # Only processes when user
|
66 |
-
api_name = "/predict",
|
67 |
)
|
68 |
|
69 |
-
iface.launch()
|
70 |
|
71 |
if __name__ == "__main__":
|
72 |
main()
|
|
|
62 |
outputs=["text", "number", "text"],
|
63 |
title="AI Grammar Checker",
|
64 |
description="Speak or type a sentence to check its grammar, get corrections, and see a score.",
|
65 |
+
live=False, # Only processes when user submit
|
|
|
66 |
)
|
67 |
|
68 |
+
iface.launch(api_name = "/predict")
|
69 |
|
70 |
if __name__ == "__main__":
|
71 |
main()
|