Spaces:
Running
Running
arvind6599
commited on
Commit
·
ae3cd11
1
Parent(s):
64feb25
Uncommented commands in main
Browse files
app.py
CHANGED
|
@@ -465,8 +465,6 @@ def build_interface():
|
|
| 465 |
return demo
|
| 466 |
|
| 467 |
if __name__ == "__main__":
|
| 468 |
-
|
| 469 |
-
#
|
| 470 |
-
|
| 471 |
-
|
| 472 |
-
submit_prompt()
|
|
|
|
| 465 |
return demo
|
| 466 |
|
| 467 |
if __name__ == "__main__":
|
| 468 |
+
interface = build_interface()
|
| 469 |
+
# Launch the app on 0.0.0.0 so it is accessible externally (e.g., in a container).
|
| 470 |
+
interface.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
|
|
|