# Unable to deploy my app, and having cant open tflite file error

**URL:** <https://discuss.streamlit.io/t/unable-to-deploy-my-app-and-having-cant-open-tflite-file-error/83078>\
**Category:** Community Cloud\
**Tags:** debugging\
**Created:** [October 9, 2024, 6:46am UTC](https://discuss.streamlit.io/t/unable-to-deploy-my-app-and-having-cant-open-tflite-file-error/83078 "2024-10-09T06:46:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pavan3](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/pavan3/32/50570_2.png) [@Pavan3](https://discuss.streamlit.io/u/Pavan3)\
**Post date:** [October 9, 2024, 6:46am UTC](https://discuss.streamlit.io/t/unable-to-deploy-my-app-and-having-cant-open-tflite-file-error/83078/1 "2024-10-09T06:46:39Z")

</div>

i have deployed my app on streamlit and also fixed the packages.txt error i was getting earlier and have replaced all my local file paths with the raw git links, still i am getting the cant open error

please help me, i. think i am doing some error while fetching the files, but i can find the solution

[https://islrv3.streamlit.app/](https://islrv3.streamlit.app/)

and this is my github repo link:  
[https://github.com/pavannn16/ISLRv2](https://github.com/pavannn16/ISLRv2)

The error i am getting:

```auto

────────────────────── Traceback (most recent call last) ───────────────────────

  /home/adminuser/venv/lib/python3.12/site-packages/streamlit/runtime/scriptru  

  nner/exec_code.py:88 in exec_func_with_error_handling                         

                                                                                

  /home/adminuser/venv/lib/python3.12/site-packages/streamlit/runtime/scriptru  

  nner/script_runner.py:579 in code_to_exec                                     

                                                                                

  /mount/src/islrv2/v3/app_with_display.py:194 in <module>                      

                                                                                

    191 │ xyz = pd.read_parquet(dummy_parquet_skel_file)                      

    192 │                                                                       

    193 │ # Combine main script and inference code                            

  ❱ 194 │ interpreter = tflite.Interpreter(tflite_model)                      

    195 │ found_signatures = list(interpreter.get_signature_list().keys())    

    196 │ prediction_fn = interpreter.get_signature_runner("serving_default"  

    197 │ train = pd.read_csv(csv_file)                                       

                                                                                

  /home/adminuser/venv/lib/python3.12/site-packages/tensorflow/lite/python/int  

  erpreter.py:473 in __init__                                                   

                                                                                

     470 │ custom_op_registerers_by_func = [                                

     471 │ │ x for x in self._custom_op_registerers if not isinstance(x,  

     472 │ ]                                                                

  ❱ 473 │ self._interpreter = _interpreter_wrapper.CreateWrapperFromFile(  

     474 │ │ model_path,                                                  

     475 │ │ op_resolver_id,                                              

     476 │ │ custom_op_registerers_by_name,                               

────────────────────────────────────────────────────────────────────────────────

ValueError: Could not open 

'https://raw.githubusercontent.com/pavannn16/ISLRv2/main/models/asl_model.tflite

'.

2024-10-09 06:46:22.923 503 GET /script-health-check (127.0.0.1) 817.16ms

```

---

<div class="post-metadata">

**Author:** ![Goyo](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/goyo/32/28219_2.png) [@Goyo](https://discuss.streamlit.io/u/Goyo)\
**Post date:** [October 10, 2024, 1:12pm UTC](https://discuss.streamlit.io/t/unable-to-deploy-my-app-and-having-cant-open-tflite-file-error/83078/5 "2024-10-10T13:12:23Z")

</div>

Trying to deploy [your app](https://github.com/pavannn16/ISLRv2/blob/02caa834547e9f32b219e845513e3943ec99f553/v3/app_with_display.py) I got this instead:

```none
NameError: name 'requests' is not defined

```

Due to your own code trying to use `requests` without importing it.

---

<div class="post-metadata">

**Author:** ![Goyo](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/goyo/32/28219_2.png) [@Goyo](https://discuss.streamlit.io/u/Goyo)\
**Post date:** [October 11, 2024, 7:59am UTC](https://discuss.streamlit.io/t/unable-to-deploy-my-app-and-having-cant-open-tflite-file-error/83078/7 "2024-10-11T07:59:32Z")

</div>

That’s weird, because I can no longer find `app_with_display.py` in your repo.

---

<div class="post-metadata">

**Author:** ![Pavan3](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/pavan3/32/50570_2.png) [@Pavan3](https://discuss.streamlit.io/u/Pavan3)\
**Post date:** [October 11, 2024, 8:13am UTC](https://discuss.streamlit.io/t/unable-to-deploy-my-app-and-having-cant-open-tflite-file-error/83078/8 "2024-10-11T08:13:40Z")

</div>

i have closed that, as i came to know video input in streamlit is not possible right now as i was trying to access the webcam and save that video to process it

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [April 9, 2025, 8:13am UTC](https://discuss.streamlit.io/t/unable-to-deploy-my-app-and-having-cant-open-tflite-file-error/83078/9 "2025-04-09T08:13:53Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
