JohnGiorgi / seq2rel

The corresponding code for our paper: A sequence-to-sequence approach for document-level relation extraction.
https://share.streamlit.io/johngiorgi/seq2rel/main/demo.py
Apache License 2.0
60 stars 8 forks source link

Demo Link not working #384

Closed REEMALIK94 closed 1 year ago

REEMALIK94 commented 1 year ago

Hey,

I am trying to open the Demo, but it's not working. Can you please help, need to go through it for my college project.

Thanks Reewa

JohnGiorgi commented 1 year ago

Unfortunately, the demo is super fragile, as Streamlits' free resource limits are barely enough to run the model. I just rebooted it now; it should work for a bit but will probably go down again. You could try running it locally though? You just need to pip install some extra dependencies:

https://github.com/JohnGiorgi/seq2rel/blob/f757d6cc9da87ac527a9485d54843b6a5739657f/pyproject.toml#L58-L60

and then streamlit run demo.py. I added the same instructions to the readme in #385.

JohnGiorgi commented 1 year ago

I also emailed streamlit support and asked them to increase the resource limit, so I will update you if that is granted!

JohnGiorgi commented 1 year ago

Okay streamlit bumped the apps resources limits so the demo should stay online! Closing.

REEMALIK94 commented 1 year ago

Thanks a lot!, its working.