Open Shine226 opened 1 year ago
@Shine226 I hosted the file at http://34.170.114.81:5000 The application seems to only work with Python 3.8. Can you test out the website and let me know what changes should be added?
I tried the link, it doesn't work. I guess is some library is out of data. But I can't tell which one is.
Do you see any error message from your end?
What URL are you using? I just get bad request errors:
I use http://127.0.0.1:5000.
I guess maybe you need config on some port.
Port is configured fine. If you look, it is getting requests. But the requests look garbled. Is there a directory like /wiggum
?
No, I don't think so. The run.py file is under root.
@Shine226 it is working now. I had to get rid of the server line in the file wiggum_app/config.py
.
Is this needed? Also, what is the best way to use data sets for the demo?
Wow, glad to hear that. If the application works, I guess it is ok to remove that line.
@Shine226 Do you have a way to load or have default data sets?
Which branch are you using now?
I am using the main
branch.
But I can create a new port and host a new one for each demo.
If you are using the Main branch, you can load auto2.csv. You will need to config the variables. For example, all continuous variable to dependent/independent and all categorical variables to splitby, then using the pearson correlation type.
Second option for datasets in Main branch is iris_test folder, then you can use the select files button to upload the folder. In this case, no need to annotate variables.
I will suggest to use 'interactive_lasso' branch, then you will find data folders. Just load the folders, no need to annotate variables.
Remember, this is on the server. The person who opens the website would need to upload their own file. Is there a way they could get it? Maybe a selection page on the site.
Do you have a new link working now?
No same link as above. I haven't made any changes yet. Let me know if you want me to check out the latest and restart the code or if you uploaded a dataset.
I tried this link (http://34.170.114.81:5000), the browser shows 'Safari can't connect to server'.
(I disconnected it)
Running command: python3 run.py Main branch: normal examples from Wiggum paper Interactive_lasso: gerrymandering examples and normal examples from Wiggum paper