Worked on local host but got problem loading in streamlit share snapshot of my log file are as below

2020-11-25 04:28:49.313 From /home/appuser/.local/lib/python3.7/site-packages/malaya/model/tf.py:39: The name tf.truncated_normal is deprecated. Please use tf.random.truncated_normal instead.

2020-11-25 04:28:49.339 From /home/appuser/.local/lib/python3.7/site-packages/tensorflow_core/python/ops/embedding_ops.py:515: div (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Deprecated in favor of operator or tf.math.divide.
2020-11-25 04:28:49.340 From /home/appuser/.local/lib/python3.7/site-packages/malaya/model/tf.py:43: dense (from tensorflow.python.layers.core) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.Dense instead.
2020-11-25 04:28:49.341 From /home/appuser/.local/lib/python3.7/site-packages/tensorflow_core/python/layers/core.py:187: Layer.apply (from tensorflow.python.keras.engine.base_layer) is deprecated and will be removed in a future version.
Instructions for updating:
Please use `layer.__call__` method instead.
2020-11-25 04:28:49.356 From /home/appuser/.local/lib/python3.7/site-packages/malaya/model/tf.py:51: The name tf.InteractiveSession is deprecated. Please use tf.compat.v1.InteractiveSession instead.

2020-11-25 04:28:49.357708: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2020-11-25 04:28:49.362751: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2200000000 Hz
2020-11-25 04:28:49.363102: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f7d3b78b530 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-11-25 04:28:49.363138: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-11-25 04:28:49.364 From /home/appuser/.local/lib/python3.7/site-packages/malaya/model/tf.py:52: The name tf.global_variables_initializer is deprecated. Please use tf.compat.v1.global_variables_initializer instead.

2020-11-25 04:28:49.683 From /home/appuser/.local/lib/python3.7/site-packages/malaya/model/tf.py:53: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead.

2020-11-25 04:28:49.683 From /home/appuser/.local/lib/python3.7/site-packages/malaya/model/tf.py:53: The name tf.trainable_variables is deprecated. Please use tf.compat.v1.trainable_variables instead.

2020-11-25 04:28:49.695 Restoring parameters from /home/appuser/Malaya/language-detection/deep/model.ckpt

  0%|          | 0.00/3.53 [00:00<?, ?MB/s][2020-11-25 04:28:50.305970] 
 28%|██▊       | 1.00/3.53 [00:00<00:00, 6.83MB/s][2020-11-25 04:28:50.366524] 
113%|██████████| 4.00/3.53 [00:00<00:00, 19.3MB/s][2020-11-25 04:28:50.805672] 
2020-11-25 04:28:50.805 Generating new fontManager, this may take some time...
[client] Connecting...
2020-11-25 04:29:15.730 Restoring parameters from /home/appuser/Malaya/language-detection/deep/model.ckpt
2020-11-25 04:29:18.286 Restoring parameters from /home/appuser/Malaya/language-detection/deep/model.ckpt
2020-11-25 04:29:19.212 MediaFileManager: Missing file 508d45a83c758266dd95d1e8fca7c00d656c9e8f13581ff0c906e6e3
2020-11-25 04:29:26.025 Restoring parameters from /home/appuser/Malaya/language-detection/deep/model.ckpt
2020-11-25 04:29:28.016 Restoring parameters from /home/appuser/Malaya/language-detection/deep/model.ckpt
2020-11-25 04:29:43.598 Restoring parameters from /home/appuser/Malaya/language-detection/deep/model.ckpt
2020-11-25 04:29:47.228 Restoring parameters from /home/appuser/Malaya/language-detection/deep/model.ckpt
2020-11-25 04:29:53.432 Restoring parameters from /home/appuser/Malaya/language-detection/deep/model.ckpt
[manager] Error checking Streamlit healthz: Get "http://localhost:8501/healthz": dial tcp 127.0.0.1:8501: connect: connection refused
[manager] Error checking Streamlit healthz: Get "http://localhost:8501/healthz": dial tcp 127.0.0.1:8501: connect: connection refused
[manager] Error checking Streamlit healthz: Get "http://localhost:8501/healthz": dial tcp 127.0.0.1:8501: connect: connection refused

Hi @BerniceYeow, welcome to the Streamlit community!

Could you post a link to the repo or at least a code snippet, so that we can get a better understanding of what your code is doing?

Best,
Randy

HI @randyzwitch ,

Sure, I would need your email. The codes are confidential, I would prefer to discuss over email. I have been trying to modify my code in the past few days and it gets different log message.
I really need your help

Regards,
Bernice