Commit History

changed generation timeout for 3 seconds to include latency.
4482e31

u-kuro commited on

changed generation timeout to 5 seconds.
02be59f

u-kuro commited on

updated button and container padding sizes.
f4f3afa

u-kuro commited on

updated sizes breakpoint in css.
4505b9c

u-kuro commited on

updated website title.
4d98c89

u-kuro commited on

Changed text generation limit to 30s timeout than 5 retries for a valid political sentence.
5be8705

u-kuro commited on

Removed max tokens to avoid cutoff sentences.
fa94026

u-kuro commited on

Updated positive sentiment description.
c231233

u-kuro commited on

updated flask debug to only be true in dev.
f09c15c

u-kuro commited on

added minimum and maximum generated token to 17-26 or ~15-20 words.
770f125

u-kuro commited on

Optimized and properly named sentence trim to getting first sentence. Also changed minimum generated words to greater than equal to 15.
0628bb2

u-kuro commited on

fixed trim to sentences for closing characters.
4f2b8e2

u-kuro commited on

change sentence trimming to properly handle generated new lines.
f52d846

u-kuro commited on

Updated label on text generation button.
77c7b17

u-kuro commited on

rearranged and fixed processes and ui display sequential
a00daee

u-kuro commited on

updated processing sequence with UI display.
5da5e06

u-kuro commited on

fixed enabling and disabling inputs.
1539549

u-kuro commited on

hide result when auto political text generation is clicked.
00ac0db

u-kuro commited on

cut off new lines in text generation. and changed max token to 28.
d4c9cea

u-kuro commited on

Brought back emptying text for visual action in generating new political text.
b6e2c1d

u-kuro commited on

removed error part for debug checking.
f5eeefe

u-kuro commited on

removed some debug functions and preload. also made auto political text generation to be capped in 1 sentence and lessen max_new_token to 40.
690a7c1

u-kuro commited on

check if preload is the bug
c55d979

u-kuro commited on

removed preload
9469fec

u-kuro commited on

additional debugs
f9152cd

u-kuro commited on

add debug log
69521cf

u-kuro commited on

added gunicorn log
73a3a35

u-kuro commited on

added visible logs
13602b3

u-kuro commited on

updated numpy version.
28602bc

u-kuro commited on

updated requirements.txt
ab037f7

u-kuro commited on

fixed initialization of model load flask.
a2b2f66

u-kuro commited on

Updated error to align with preload of model.
00d4798

u-kuro commited on

pre-download generation model before hosting.
315a8ba

u-kuro commited on

fixed request parsing and delays for auto political text generation.
13da47d

u-kuro commited on

Transferred sample political text generation to flask.
1baa5df

u-kuro commited on

improved sample political text generation.
c9c06f2

u-kuro commited on

fixed async UI updates before generating political text.
163f181

u-kuro commited on

fix: rename variable for clarity in index.html
ac51a05

u-kuro commited on

added generate button and AI model integration for political text generation
ff15ce2

u-kuro commited on

fix: add missing NLTK data download for 'punkt_tab' in Dockerfile
f1749c3

u-kuro commited on

refactor: streamline NLTK data download process in Dockerfile and remove redundant code from app.py and app.ipynb
ada33ff

u-kuro commited on

added nltk in requirements.txt
067dce5

u-kuro commited on

removed unused library
a0e345c

u-kuro commited on

added validation and punctuation to incomplete inputs
0fd25cc

u-kuro commited on

Merge branch 'main' of https://huggingface.co/spaces/u-kuro/sentiment-predictor
24ef18f

u-kuro commited on

Update page title to 'U.S. Political Sentiment Analysis' and remove unnecessary line break in the sentiment form
7fa3d2c

u-kuro commited on

Merge branch 'main' of https://huggingface.co/spaces/u-kuro/sentiment-predictor
1399e3c

u-kuro commited on

Merge branch 'main' of https://huggingface.co/spaces/u-kuro/sentiment-predictor
9b2647a

u-kuro commited on

Add favicon and update title with logo for sentiment analysis page
c9302cd

u-kuro commited on

Add favicon and update title with logo for sentiment analysis page
ef4b65a

u-kuro commited on