-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Freezes after launching pysr in streamlit app #662
Comments
Hi @bahonya, |
Hi @MilesCranmer , thanks for the quick response I got it, it happens because I change directory during the run, if I remove os.chdir in example below it works. I have to change the directory durung the run. I will look for a workaround. I think I will close this ticket then ` def generate_data(n_samples): |
Cool! If you are interested, maybe we could work together on a GUI? I have a start on this PR: #589. It's with gradio rather than streamlit but parts are similar. The goal is to have it be compatible with HuggingFace spaces so you can have web version of PySR. |
What happened?
I am currently trying to launch pysr from streamlit app and after running model.fit(x_train, y_train)
I see only this and nothing else:
Compiling Julia backend...
[ Info: Started!
running it just as a python script or in jupiter notebook works
I also trying calling pysr using ThreadPoolExecutor and same happens
Would appreciate any suggestions
Version
0.19.0
Operating System
macOS
Package Manager
Conda
Interface
Other (specify below)
Relevant log output
Compiling Julia backend... [ Info: Started!
Extra Info
No response
The text was updated successfully, but these errors were encountered: