Deploying from a github repo keeps failing

Hi everyone,

I hope you are well. Sorry to bother you but a quick question. I want to deploy an app from my github repo. I set everything up and I get hit with this error : ModuleNotFoundError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app). ```
File “/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 584, in _run_script
exec(code, module.dict)File “/mount/src/jd-learning/MERCH_AI.py”, line 3, in
import openai

Code snipet :

import streamlit as st
import os
import openai

Have I messed up something ?

Hi @jdonkov,

Thanks for sharing this question!

Can you share a link to your repo?

Also, can you share the contents of your requirements.txt file?

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