Description
I am following the steps in "Local development" and I notice that no URL is printed when running the back-end URL. What could be the problem?
This is the prompt after running "python3 app.py --port 8000 --model_version mini"
...
x@x:~/git_environment/dalle-playground/backend$ python3 app.py --port 8000 --model_version mini
--> Starting DALL-E Server. This might take up to two minutes.
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
/usr/local/lib/python3.10/dist-packages/flax/core/lift.py:112: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
scopes, treedef = jax.tree_flatten(scope_tree)
/usr/local/lib/python3.10/dist-packages/flax/core/lift.py:724: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
lengths = set(jax.tree_leaves(lengths))
/usr/local/lib/python3.10/dist-packages/flax/core/axes_scan.py:131: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
in_avals, in_tree = jax.tree_flatten(input_avals)
/usr/local/lib/python3.10/dist-packages/flax/linen/transforms.py:247: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
jax.tree_leaves(tree)))
/usr/local/lib/python3.10/dist-packages/flax/core/axes_scan.py:143: FutureWarning: jax.tree_unflatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_unflatten instead.
broadcast_in, constants_out = jax.tree_unflatten(out_tree(), out_flat)
/usr/local/lib/python3.10/dist-packages/flax/core/lift.py:112: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
scopes, treedef = jax.tree_flatten(scope_tree)
/usr/local/lib/python3.10/dist-packages/flax/core/lift.py:724: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
lengths = set(jax.tree_leaves(lengths))
/usr/local/lib/python3.10/dist-packages/flax/core/axes_scan.py:131: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
in_avals, in_tree = jax.tree_flatten(input_avals)
/usr/local/lib/python3.10/dist-packages/flax/linen/transforms.py:247: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
jax.tree_leaves(tree)))
/usr/local/lib/python3.10/dist-packages/flax/core/axes_scan.py:143: FutureWarning: jax.tree_unflatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_unflatten instead.
broadcast_in, constants_out = jax.tree_unflatten(out_tree(), out_flat)
/usr/local/lib/python3.10/dist-packages/flax/core/scope.py:740: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
abs_value_flat = jax.tree_leaves(abs_value)
/usr/local/lib/python3.10/dist-packages/flax/core/scope.py:741: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
value_flat = jax.tree_leaves(value)
/usr/local/lib/python3.10/dist-packages/flax/core/scope.py:740: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
abs_value_flat = jax.tree_leaves(abs_value)
/usr/local/lib/python3.10/dist-packages/flax/core/scope.py:741: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
value_flat = jax.tree_leaves(value)
/usr/local/lib/python3.10/dist-packages/flax/core/lift.py:112: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
scopes, treedef = jax.tree_flatten(scope_tree)
/usr/local/lib/python3.10/dist-packages/flax/core/lift.py:724: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
lengths = set(jax.tree_leaves(lengths))
/usr/local/lib/python3.10/dist-packages/flax/core/axes_scan.py:131: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
in_avals, in_tree = jax.tree_flatten(input_avals)
/usr/local/lib/python3.10/dist-packages/flax/linen/transforms.py:247: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
jax.tree_leaves(tree)))
/usr/local/lib/python3.10/dist-packages/flax/core/axes_scan.py:143: FutureWarning: jax.tree_unflatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_unflatten instead.
broadcast_in, constants_out = jax.tree_unflatten(out_tree(), out_flat)
--> DALL-E Server is up and running!
--> Model selected - DALL-E ModelSize.MINI
- Serving Flask app 'app' (lazy loading)
- Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead. - Debug mode: off
INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - Running on all addresses (0.0.0.0)
- Running on http://127.0.0.1:8000
- Running on http://192.168.0.106:8000
INFO:werkzeug:Press CTRL+C to quit