Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -63,9 +63,10 @@ def main():
|
|
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(
|
69 |
|
70 |
if __name__ == "__main__":
|
71 |
main()
|
|
|
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 |
+
api_name = "/predict",
|
67 |
)
|
68 |
|
69 |
+
iface.launch()
|
70 |
|
71 |
if __name__ == "__main__":
|
72 |
main()
|