Spaces:
Runtime error
Runtime error
update app
Browse files
app.py
CHANGED
|
@@ -143,8 +143,10 @@ if "app" not in globals():
|
|
| 143 |
|
| 144 |
|
| 145 |
import os
|
|
|
|
| 146 |
|
| 147 |
if __name__ == "__main__":
|
|
|
|
| 148 |
demo.launch(
|
| 149 |
server_name="0.0.0.0",
|
| 150 |
server_port=int(os.environ.get("PORT", 7860))
|
|
|
|
| 143 |
|
| 144 |
|
| 145 |
import os
|
| 146 |
+
print('@@@@@@@@@@@@@',os.environ.get("PORT"))
|
| 147 |
|
| 148 |
if __name__ == "__main__":
|
| 149 |
+
print(os.environ.get("PORT"))
|
| 150 |
demo.launch(
|
| 151 |
server_name="0.0.0.0",
|
| 152 |
server_port=int(os.environ.get("PORT", 7860))
|