diff --git a/Frontend/assets/output.json b/Frontend/assets/output.json deleted file mode 100644 index 35ea732..0000000 --- a/Frontend/assets/output.json +++ /dev/null @@ -1 +0,0 @@ -{"timestamps": [{"text": " What about you, have you ever considered competing in Jiu-Jitsu?", "start_time": 0.0, "words": [{"word": " What", "start": 0.0, "end": 0.18, "probability": 0.5254091024398804}, {"word": " about", "start": 0.18, "end": 0.4, "probability": 0.9858922362327576}, {"word": " you,", "start": 0.4, "end": 0.72, "probability": 0.7415021061897278}, {"word": " have", "start": 0.9, "end": 1.5, "probability": 0.8141716122627258}, {"word": " you", "start": 1.5, "end": 1.56, "probability": 0.9967262744903564}, {"word": " ever", "start": 1.56, "end": 1.74, "probability": 0.9996503591537476}, {"word": " considered", "start": 1.74, "end": 2.2, "probability": 0.992181658744812}, {"word": " competing", "start": 2.2, "end": 2.66, "probability": 0.99776291847229}, {"word": " in", "start": 2.66, "end": 2.88, "probability": 0.9640440344810486}, {"word": " Jiu", "start": 2.88, "end": 3.06, "probability": 0.5360380113124847}, {"word": "-Jitsu?", "start": 3.06, "end": 3.24, "probability": 0.8654495477676392}]}, {"text": " No, for that very reason, I don't want to get obsessed.", "start_time": 4.12, "words": [{"word": " No,", "start": 4.12, "end": 4.32, "probability": 0.5525950193405151}, {"word": " for", "start": 4.52, "end": 4.62, "probability": 0.9897360801696777}, {"word": " that", "start": 4.62, "end": 4.76, "probability": 0.997848629951477}, {"word": " very", "start": 4.76, "end": 5.02, "probability": 0.9895542860031128}, {"word": " reason,", "start": 5.02, "end": 5.38, "probability": 0.9994308352470398}, {"word": " I", "start": 5.72, "end": 5.8, "probability": 0.9944990873336792}, {"word": " don't", "start": 5.8, "end": 5.92, "probability": 0.9988544881343842}, {"word": " want", "start": 5.92, "end": 6.18, "probability": 0.9984549283981323}, {"word": " to", "start": 6.18, "end": 6.4, "probability": 0.9946606755256653}, {"word": " get", "start": 6.4, "end": 6.56, "probability": 0.9995360374450684}, {"word": " obsessed.", "start": 6.56, "end": 7.0, "probability": 0.9952182173728943}]}, {"text": " That's my number one concern. I had a quit video games when we were playing video games", "start_time": 7.76, "words": [{"word": " That's", "start": 7.76, "end": 7.94, "probability": 0.9274133443832397}, {"word": " my", "start": 7.94, "end": 8.18, "probability": 0.9512664079666138}, {"word": " number", "start": 8.18, "end": 9.04, "probability": 0.7691676020622253}, {"word": " one", "start": 9.04, "end": 9.24, "probability": 0.9621391892433167}, {"word": " concern.", "start": 9.24, "end": 9.5, "probability": 0.9892988204956055}, {"word": " I", "start": 9.66, "end": 9.68, "probability": 0.9921516180038452}, {"word": " had", "start": 9.68, "end": 9.76, "probability": 0.9496725797653198}, {"word": " a", "start": 9.76, "end": 9.82, "probability": 0.660595178604126}, {"word": " quit", "start": 9.82, "end": 10.02, "probability": 0.8301425576210022}, {"word": " video", "start": 10.02, "end": 10.42, "probability": 0.9297100305557251}, {"word": " games", "start": 10.42, "end": 10.76, "probability": 0.9972142577171326}, {"word": " when", "start": 10.76, "end": 11.44, "probability": 0.48039519786834717}, {"word": " we", "start": 11.44, "end": 11.56, "probability": 0.9967834949493408}, {"word": " were", "start": 11.56, "end": 11.6, "probability": 0.9944050312042236}, {"word": " playing", "start": 11.6, "end": 11.78, "probability": 0.9941864013671875}, {"word": " video", "start": 11.78, "end": 12.02, "probability": 0.9923428893089294}, {"word": " games", "start": 12.02, "end": 12.3, "probability": 0.9988411068916321}]}, {"text": " the studio. I had a quit because I was playing five hours a day. Like I don't know where.", "start_time": 12.3, "words": [{"word": " the", "start": 12.3, "end": 12.44, "probability": 0.03105125203728676}, {"word": " studio.", "start": 12.44, "end": 12.74, "probability": 0.9971250891685486}, {"word": " I", "start": 12.74, "end": 12.92, "probability": 0.9785012602806091}, {"word": " had", "start": 12.92, "end": 12.98, "probability": 0.9921093583106995}, {"word": " a", "start": 12.98, "end": 13.04, "probability": 0.8644856214523315}, {"word": " quit", "start": 13.04, "end": 13.28, "probability": 0.9884411096572876}, {"word": " because", "start": 13.28, "end": 13.98, "probability": 0.7315293550491333}, {"word": " I", "start": 13.98, "end": 14.1, "probability": 0.9969334602355957}, {"word": " was", "start": 14.1, "end": 14.18, "probability": 0.9991838335990906}, {"word": " playing", "start": 14.18, "end": 14.34, "probability": 0.9969262480735779}, {"word": " five", "start": 14.34, "end": 14.58, "probability": 0.9178892374038696}, {"word": " hours", "start": 14.58, "end": 14.82, "probability": 0.9975939393043518}, {"word": " a", "start": 14.82, "end": 14.98, "probability": 0.9990863800048828}, {"word": " day.", "start": 14.98, "end": 15.1, "probability": 0.9996559619903564}, {"word": " Like", "start": 15.24, "end": 15.32, "probability": 0.6081122159957886}, {"word": " I", "start": 15.32, "end": 15.46, "probability": 0.3473300039768219}, {"word": " don't", "start": 15.46, "end": 15.54, "probability": 0.6799955368041992}, {"word": " know", "start": 15.54, "end": 15.74, "probability": 0.9936793446540833}, {"word": " where.", "start": 15.74, "end": 15.92, "probability": 0.9634926319122314}]}, {"text": " I was playing five hours a day. I was coming home late for dinner. I was", "start_time": 16.1, "words": [{"word": " I", "start": 16.1, "end": 16.14, "probability": 0.45104360580444336}, {"word": " was", "start": 16.14, "end": 16.22, "probability": 0.5458126068115234}, {"word": " playing", "start": 16.22, "end": 16.7, "probability": 0.6396042704582214}, {"word": " five", "start": 16.7, "end": 16.94, "probability": 0.9300367832183838}, {"word": " hours", "start": 16.94, "end": 17.2, "probability": 0.9781337380409241}, {"word": " a", "start": 17.2, "end": 17.32, "probability": 0.918895423412323}, {"word": " day.", "start": 17.32, "end": 17.36, "probability": 0.998778760433197}, {"word": " I", "start": 17.42, "end": 17.44, "probability": 0.9674121737480164}, {"word": " was", "start": 17.44, "end": 17.52, "probability": 0.9955126643180847}, {"word": " coming", "start": 17.52, "end": 17.64, "probability": 0.9326567649841309}, {"word": " home", "start": 17.64, "end": 17.8, "probability": 0.9964855909347534}, {"word": " late", "start": 17.8, "end": 17.98, "probability": 0.9988001585006714}, {"word": " for", "start": 17.98, "end": 18.14, "probability": 0.9885713458061218}, {"word": " dinner.", "start": 18.14, "end": 18.36, "probability": 0.993507981300354}, {"word": " I", "start": 18.92, "end": 19.02, "probability": 0.9927573204040527}, {"word": " was", "start": 19.02, "end": 19.2, "probability": 0.9976193308830261}]}, {"text": " ending podcast early and jumping on the video games and playing. I get obsessed with things.", "start_time": 19.2, "words": [{"word": " ending", "start": 19.2, "end": 19.76, "probability": 0.7600359320640564}, {"word": " podcast", "start": 19.76, "end": 20.22, "probability": 0.44282713532447815}, {"word": " early", "start": 20.22, "end": 20.76, "probability": 0.9933607578277588}, {"word": " and", "start": 20.76, "end": 21.12, "probability": 0.9496549367904663}, {"word": " jumping", "start": 21.12, "end": 21.38, "probability": 0.9727944731712341}, {"word": " on", "start": 21.38, "end": 21.56, "probability": 0.9876097440719604}, {"word": " the", "start": 21.56, "end": 21.66, "probability": 0.9919866323471069}, {"word": " video", "start": 21.66, "end": 21.88, "probability": 0.9836154580116272}, {"word": " games", "start": 21.88, "end": 22.14, "probability": 0.9891874194145203}, {"word": " and", "start": 22.14, "end": 22.26, "probability": 0.6422845125198364}, {"word": " playing.", "start": 22.26, "end": 22.48, "probability": 0.9941459894180298}, {"word": " I", "start": 22.9, "end": 23.26, "probability": 0.9976680874824524}, {"word": " get", "start": 23.26, "end": 23.42, "probability": 0.9967029690742493}, {"word": " obsessed", "start": 23.42, "end": 23.78, "probability": 0.9973059892654419}, {"word": " with", "start": 23.78, "end": 24.06, "probability": 0.9994134902954102}, {"word": " things.", "start": 24.06, "end": 24.36, "probability": 0.9995273351669312}]}, {"text": " I have to recognize what that is and these competitive things,", "start_time": 24.36, "words": [{"word": " I", "start": 24.36, "end": 24.7, "probability": 0.10504107922315598}, {"word": " have", "start": 24.7, "end": 24.86, "probability": 0.6866242289543152}, {"word": " to", "start": 24.86, "end": 25.04, "probability": 0.995246946811676}, {"word": " recognize", "start": 25.04, "end": 25.68, "probability": 0.9642399549484253}, {"word": " what", "start": 25.68, "end": 26.54, "probability": 0.8881344795227051}, {"word": " that", "start": 26.54, "end": 26.8, "probability": 0.9871104955673218}, {"word": " is", "start": 26.8, "end": 27.04, "probability": 0.9973835349082947}, {"word": " and", "start": 27.04, "end": 27.28, "probability": 0.7548382878303528}, {"word": " these", "start": 27.28, "end": 27.48, "probability": 0.9955385327339172}, {"word": " competitive", "start": 27.48, "end": 27.94, "probability": 0.9970541000366211}, {"word": " things,", "start": 27.94, "end": 28.62, "probability": 0.9885879755020142}]}, {"text": " like competitive, especially like really exciting competitive things like video games,", "start_time": 29.08, "words": [{"word": " like", "start": 29.08, "end": 29.2, "probability": 0.8798062801361084}, {"word": " competitive,", "start": 29.2, "end": 29.7, "probability": 0.9829038977622986}, {"word": " especially", "start": 29.96, "end": 30.32, "probability": 0.9847307205200195}, {"word": " like", "start": 30.32, "end": 30.64, "probability": 0.8833461999893188}, {"word": " really", "start": 30.64, "end": 30.88, "probability": 0.88633793592453}, {"word": " exciting", "start": 30.88, "end": 31.28, "probability": 0.9976414442062378}, {"word": " competitive", "start": 31.28, "end": 31.62, "probability": 0.9790977835655212}, {"word": " things", "start": 31.62, "end": 31.92, "probability": 0.9824190139770508}, {"word": " like", "start": 31.92, "end": 32.12, "probability": 0.9344196915626526}, {"word": " video", "start": 32.12, "end": 32.36, "probability": 0.9729142785072327}, {"word": " games,", "start": 32.36, "end": 32.72, "probability": 0.9978804588317871}]}, {"text": " they're very dangerous for me. The ultimate competitive video game is like Jiu-Jitsu.", "start_time": 32.8, "words": [{"word": " they're", "start": 32.8, "end": 33.22, "probability": 0.7460057735443115}, {"word": " very", "start": 33.22, "end": 33.4, "probability": 0.99795001745224}, {"word": " dangerous", "start": 33.4, "end": 33.78, "probability": 0.9853927493095398}, {"word": " for", "start": 33.78, "end": 34.0, "probability": 0.9832392334938049}, {"word": " me.", "start": 34.0, "end": 34.16, "probability": 0.9996627569198608}, {"word": " The", "start": 34.54, "end": 34.6, "probability": 0.9917730689048767}, {"word": " ultimate", "start": 34.6, "end": 34.98, "probability": 0.9632786512374878}, {"word": " competitive", "start": 34.98, "end": 35.5, "probability": 0.9955262541770935}, {"word": " video", "start": 35.5, "end": 35.8, "probability": 0.981270432472229}, {"word": " game", "start": 35.8, "end": 36.12, "probability": 0.9971025586128235}, {"word": " is", "start": 36.12, "end": 36.42, "probability": 0.987874448299408}, {"word": " like", "start": 36.42, "end": 36.66, "probability": 0.9578744173049927}, {"word": " Jiu", "start": 36.66, "end": 36.92, "probability": 0.41044728457927704}, {"word": "-Jitsu.", "start": 36.92, "end": 37.16, "probability": 0.8168814778327942}]}, {"text": " If I was young, I most certainly would have done it. If I didn't have a very clear career path,", "start_time": 37.96, "words": [{"word": " If", "start": 37.96, "end": 38.86, "probability": 0.28571608662605286}, {"word": " I", "start": 38.86, "end": 39.0, "probability": 0.9957730174064636}, {"word": " was", "start": 39.0, "end": 39.16, "probability": 0.9978251457214355}, {"word": " young,", "start": 39.16, "end": 39.36, "probability": 0.9902464151382446}, {"word": " I", "start": 39.58, "end": 39.62, "probability": 0.9748855233192444}, {"word": " most", "start": 39.62, "end": 39.78, "probability": 0.8871436715126038}, {"word": " certainly", "start": 39.78, "end": 40.24, "probability": 0.997645914554596}, {"word": " would", "start": 40.24, "end": 40.46, "probability": 0.9983311295509338}, {"word": " have", "start": 40.46, "end": 40.56, "probability": 0.8622485995292664}, {"word": " done", "start": 40.56, "end": 40.72, "probability": 0.9984661340713501}, {"word": " it.", "start": 40.72, "end": 40.86, "probability": 0.9891542792320251}, {"word": " If", "start": 40.98, "end": 40.98, "probability": 0.9905258417129517}, {"word": " I", "start": 40.98, "end": 41.06, "probability": 0.9968718886375427}, {"word": " didn't", "start": 41.06, "end": 41.32, "probability": 0.9958493113517761}, {"word": " have", "start": 41.32, "end": 41.68, "probability": 0.9991304278373718}, {"word": " a", "start": 41.68, "end": 42.2, "probability": 0.6191655397415161}, {"word": " very", "start": 42.2, "end": 42.46, "probability": 0.9791908860206604}, {"word": " clear", "start": 42.46, "end": 42.84, "probability": 0.9975724816322327}, {"word": " career", "start": 42.84, "end": 43.26, "probability": 0.9945295453071594}, {"word": " path,", "start": 43.26, "end": 43.72, "probability": 0.9978122711181641}]}, {"text": " there was something that I enjoyed, my concern would be that I would become a professional", "start_time": 43.8, "words": [{"word": " there", "start": 43.8, "end": 43.86, "probability": 0.7330628037452698}, {"word": " was", "start": 43.86, "end": 43.94, "probability": 0.9876771569252014}, {"word": " something", "start": 43.94, "end": 44.16, "probability": 0.9979206919670105}, {"word": " that", "start": 44.16, "end": 44.32, "probability": 0.9371227025985718}, {"word": " I", "start": 44.32, "end": 44.38, "probability": 0.986336886882782}, {"word": " enjoyed,", "start": 44.38, "end": 44.76, "probability": 0.9864814281463623}, {"word": " my", "start": 45.16, "end": 45.34, "probability": 0.9949906468391418}, {"word": " concern", "start": 45.34, "end": 45.74, "probability": 0.9963674545288086}, {"word": " would", "start": 45.74, "end": 45.98, "probability": 0.99748295545578}, {"word": " be", "start": 45.98, "end": 46.14, "probability": 0.9962280988693237}, {"word": " that", "start": 46.14, "end": 46.3, "probability": 0.966795027256012}, {"word": " I", "start": 46.3, "end": 46.42, "probability": 0.997848391532898}, {"word": " would", "start": 46.42, "end": 46.54, "probability": 0.9923664927482605}, {"word": " become", "start": 46.54, "end": 46.74, "probability": 0.9928916692733765}, {"word": " a", "start": 46.74, "end": 46.94, "probability": 0.9932190775871277}, {"word": " professional", "start": 46.94, "end": 47.42, "probability": 0.9980574250221252}]}, {"text": " Jiu-Jitsu fighter when I was young. Then I would not have the energy to do stand up and do all the", "start_time": 47.42, "words": [{"word": " Jiu", "start": 47.42, "end": 47.68, "probability": 0.9395836591720581}, {"word": "-Jitsu", "start": 47.68, "end": 47.94, "probability": 0.9497121175130209}, {"word": " fighter", "start": 47.94, "end": 48.28, "probability": 0.9886730313301086}, {"word": " when", "start": 48.28, "end": 48.72, "probability": 0.8529798984527588}, {"word": " I", "start": 48.72, "end": 48.8, "probability": 0.9989023208618164}, {"word": " was", "start": 48.8, "end": 48.94, "probability": 0.9993199110031128}, {"word": " young.", "start": 48.94, "end": 49.16, "probability": 0.9976488947868347}, {"word": " Then", "start": 49.74, "end": 49.88, "probability": 0.5622424483299255}, {"word": " I", "start": 49.88, "end": 50.0, "probability": 0.9032983183860779}, {"word": " would", "start": 50.0, "end": 50.16, "probability": 0.9933098554611206}, {"word": " not", "start": 50.16, "end": 50.48, "probability": 0.9937211275100708}, {"word": " have", "start": 50.48, "end": 50.78, "probability": 0.9976131916046143}, {"word": " the", "start": 50.78, "end": 50.96, "probability": 0.9973852038383484}, {"word": " energy", "start": 50.96, "end": 51.32, "probability": 0.9987514019012451}, {"word": " to", "start": 51.32, "end": 51.6, "probability": 0.9985948204994202}, {"word": " do", "start": 51.6, "end": 51.8, "probability": 0.838114321231842}, {"word": " stand", "start": 51.8, "end": 52.32, "probability": 0.9688661694526672}, {"word": " up", "start": 52.32, "end": 52.56, "probability": 0.2940700054168701}, {"word": " and", "start": 52.56, "end": 52.86, "probability": 0.9208917021751404}, {"word": " do", "start": 52.86, "end": 53.2, "probability": 0.9903910160064697}, {"word": " all", "start": 53.2, "end": 53.34, "probability": 0.9705687165260315}, {"word": " the", "start": 53.34, "end": 53.46, "probability": 0.9797042608261108}]}, {"text": " things that I wound up doing as a career. When I was 21, I quit my job teaching. I was teaching", "start_time": 53.46, "words": [{"word": " things", "start": 53.46, "end": 53.74, "probability": 0.15378184616565704}, {"word": " that", "start": 53.74, "end": 53.92, "probability": 0.9190024137496948}, {"word": " I", "start": 53.92, "end": 53.98, "probability": 0.9817075133323669}, {"word": " wound", "start": 53.98, "end": 54.12, "probability": 0.7626720666885376}, {"word": " up", "start": 54.12, "end": 54.28, "probability": 0.9965376853942871}, {"word": " doing", "start": 54.28, "end": 54.5, "probability": 0.9969475865364075}, {"word": " as", "start": 54.5, "end": 55.12, "probability": 0.9461297988891602}, {"word": " a", "start": 55.12, "end": 55.22, "probability": 0.9923990368843079}, {"word": " career.", "start": 55.22, "end": 55.5, "probability": 0.9986810088157654}, {"word": " When", "start": 56.22, "end": 56.3, "probability": 0.9678205847740173}, {"word": " I", "start": 56.3, "end": 56.42, "probability": 0.9961658716201782}, {"word": " was", "start": 56.42, "end": 56.6, "probability": 0.998981773853302}, {"word": " 21,", "start": 56.6, "end": 58.48, "probability": 0.6921790838241577}, {"word": " I", "start": 59.08, "end": 59.28, "probability": 0.997412383556366}, {"word": " quit", "start": 59.28, "end": 59.56, "probability": 0.9966219663619995}, {"word": " my", "start": 59.56, "end": 59.8, "probability": 0.993694007396698}, {"word": " job", "start": 59.8, "end": 60.12, "probability": 0.9992251396179199}, {"word": " teaching.", "start": 60.12, "end": 60.66, "probability": 0.9750188589096069}, {"word": " I", "start": 60.82, "end": 60.86, "probability": 0.9983149766921997}, {"word": " was", "start": 60.86, "end": 60.96, "probability": 0.9992445707321167}, {"word": " teaching", "start": 60.96, "end": 61.22, "probability": 0.9962045550346375}]}, {"text": " at Boston University. I was teaching Taekwondo there. I also had my own school in Revere. I knew I", "start_time": 61.22, "words": [{"word": " at", "start": 61.22, "end": 61.36, "probability": 0.9734320640563965}, {"word": " Boston", "start": 61.36, "end": 61.54, "probability": 0.9496244192123413}, {"word": " University.", "start": 61.54, "end": 62.16, "probability": 0.9805928468704224}, {"word": " I", "start": 62.72, "end": 62.9, "probability": 0.9901602864265442}, {"word": " was", "start": 62.9, "end": 62.96, "probability": 0.9984498023986816}, {"word": " teaching", "start": 62.96, "end": 63.2, "probability": 0.9971354007720947}, {"word": " Taekwondo", "start": 63.2, "end": 63.6, "probability": 0.5574673730880022}, {"word": " there.", "start": 63.6, "end": 63.92, "probability": 0.9839439392089844}, {"word": " I", "start": 64.88, "end": 65.18, "probability": 0.17190831899642944}, {"word": " also", "start": 65.18, "end": 66.7, "probability": 0.2697332501411438}, {"word": " had", "start": 66.7, "end": 66.84, "probability": 0.7150630354881287}, {"word": " my", "start": 66.84, "end": 66.96, "probability": 0.9972564578056335}, {"word": " own", "start": 66.96, "end": 67.08, "probability": 0.9959993362426758}, {"word": " school", "start": 67.08, "end": 67.36, "probability": 0.9974162578582764}, {"word": " in", "start": 67.36, "end": 68.42, "probability": 0.9644307494163513}, {"word": " Revere.", "start": 68.42, "end": 68.86, "probability": 0.6008068770170212}, {"word": " I", "start": 69.08, "end": 69.16, "probability": 0.9968680739402771}, {"word": " knew", "start": 69.16, "end": 69.28, "probability": 0.9847769737243652}, {"word": " I", "start": 69.28, "end": 69.36, "probability": 0.9969406127929688}]}, {"text": " couldn't do it right and also be doing stand up comedy. I knew I couldn't do both of those things.", "start_time": 69.36, "words": [{"word": " couldn't", "start": 69.36, "end": 69.6, "probability": 0.9930985569953918}, {"word": " do", "start": 69.6, "end": 69.74, "probability": 0.9992589354515076}, {"word": " it", "start": 69.74, "end": 69.9, "probability": 0.9986611604690552}, {"word": " right", "start": 69.9, "end": 70.34, "probability": 0.3912472426891327}, {"word": " and", "start": 70.34, "end": 71.02, "probability": 0.49463126063346863}, {"word": " also", "start": 71.02, "end": 71.52, "probability": 0.975595235824585}, {"word": " be", "start": 71.52, "end": 72.7, "probability": 0.9714903235435486}, {"word": " doing", "start": 72.7, "end": 73.12, "probability": 0.9950113296508789}, {"word": " stand", "start": 73.12, "end": 73.34, "probability": 0.7016140818595886}, {"word": " up", "start": 73.34, "end": 73.48, "probability": 0.1117379367351532}, {"word": " comedy.", "start": 73.48, "end": 73.8, "probability": 0.9970959424972534}, {"word": " I", "start": 74.0, "end": 74.06, "probability": 0.9986202716827393}, {"word": " knew", "start": 74.06, "end": 74.18, "probability": 0.9928845167160034}, {"word": " I", "start": 74.18, "end": 74.3, "probability": 0.9978736639022827}, {"word": " couldn't", "start": 74.3, "end": 74.58, "probability": 0.9957231283187866}, {"word": " do", "start": 74.58, "end": 74.72, "probability": 0.9962716102600098}, {"word": " both", "start": 74.72, "end": 74.94, "probability": 0.9791694283485413}, {"word": " of", "start": 74.94, "end": 75.06, "probability": 0.9683772921562195}, {"word": " those", "start": 75.06, "end": 75.2, "probability": 0.99882572889328}, {"word": " things.", "start": 75.2, "end": 75.52, "probability": 0.9974352717399597}]}, {"text": " There was no way. You have to be cognizant of that obsessive force within you to make sure.", "start_time": 75.86, "words": [{"word": " There", "start": 75.86, "end": 75.96, "probability": 0.9112752079963684}, {"word": " was", "start": 75.96, "end": 76.12, "probability": 0.6154391765594482}, {"word": " no", "start": 76.12, "end": 76.22, "probability": 0.9979861974716187}, {"word": " way.", "start": 76.22, "end": 76.5, "probability": 0.9993091821670532}, {"word": " You", "start": 76.74, "end": 76.8, "probability": 0.5801340341567993}, {"word": " have", "start": 76.8, "end": 76.84, "probability": 0.9825578331947327}, {"word": " to", "start": 76.84, "end": 76.96, "probability": 0.9985876083374023}, {"word": " be", "start": 76.96, "end": 77.06, "probability": 0.9980044960975647}, {"word": " cognizant", "start": 77.06, "end": 77.62, "probability": 0.9975668986638387}, {"word": " of", "start": 77.62, "end": 77.86, "probability": 0.9887082576751709}, {"word": " that", "start": 77.86, "end": 79.04, "probability": 0.9827332496643066}, {"word": " obsessive", "start": 79.04, "end": 79.68, "probability": 0.9876866638660431}, {"word": " force", "start": 79.68, "end": 79.9, "probability": 0.9769753217697144}, {"word": " within", "start": 79.9, "end": 80.18, "probability": 0.9305064678192139}, {"word": " you", "start": 80.18, "end": 80.4, "probability": 0.9993802309036255}, {"word": " to", "start": 80.4, "end": 80.6, "probability": 0.9748870730400085}, {"word": " make", "start": 80.6, "end": 80.76, "probability": 0.9974504113197327}, {"word": " sure.", "start": 80.76, "end": 81.0, "probability": 0.9982067346572876}]}, {"text": " I have to know how to manage my mental illness. That's a very particular mental illness. I", "start_time": 81.26, "words": [{"word": " I", "start": 81.26, "end": 81.92, "probability": 0.04371529817581177}, {"word": " have", "start": 81.92, "end": 82.32, "probability": 0.09185226261615753}, {"word": " to", "start": 82.32, "end": 82.46, "probability": 0.9853217601776123}, {"word": " know", "start": 82.46, "end": 82.6, "probability": 0.9678410291671753}, {"word": " how", "start": 82.6, "end": 82.68, "probability": 0.9730061292648315}, {"word": " to", "start": 82.68, "end": 82.76, "probability": 0.9377551674842834}, {"word": " manage", "start": 82.76, "end": 83.14, "probability": 0.9958015084266663}, {"word": " my", "start": 83.14, "end": 83.32, "probability": 0.9309519529342651}, {"word": " mental", "start": 83.32, "end": 83.68, "probability": 0.9984435439109802}, {"word": " illness.", "start": 83.68, "end": 84.12, "probability": 0.994050920009613}, {"word": " That's", "start": 84.7, "end": 85.16, "probability": 0.8878048062324524}, {"word": " a", "start": 85.16, "end": 85.56, "probability": 0.8267937302589417}, {"word": " very", "start": 85.56, "end": 85.76, "probability": 0.9827696084976196}, {"word": " particular", "start": 85.76, "end": 86.22, "probability": 0.9933532476425171}, {"word": " mental", "start": 86.22, "end": 86.52, "probability": 0.997700035572052}, {"word": " illness.", "start": 86.52, "end": 86.96, "probability": 0.9983153343200684}, {"word": " I", "start": 87.3, "end": 87.44, "probability": 0.3722001016139984}]}, {"text": " think that mental illness. Again, my formative years from 15 until I was 21-22, those years were", "start_time": 87.44, "words": [{"word": " think", "start": 87.44, "end": 87.62, "probability": 0.9945390820503235}, {"word": " that", "start": 87.62, "end": 87.82, "probability": 0.9831820726394653}, {"word": " mental", "start": 87.82, "end": 88.16, "probability": 0.985218346118927}, {"word": " illness.", "start": 88.16, "end": 88.44, "probability": 0.9950290322303772}, {"word": " Again,", "start": 88.66, "end": 88.86, "probability": 0.9482148885726929}, {"word": " my", "start": 89.5, "end": 89.74, "probability": 0.9907802939414978}, {"word": " formative", "start": 89.74, "end": 90.34, "probability": 0.9856780767440796}, {"word": " years", "start": 90.34, "end": 90.72, "probability": 0.9852918386459351}, {"word": " from", "start": 90.72, "end": 91.38, "probability": 0.49986520409584045}, {"word": " 15", "start": 91.38, "end": 91.92, "probability": 0.9092119932174683}, {"word": " until", "start": 91.92, "end": 92.34, "probability": 0.4548276960849762}, {"word": " I", "start": 92.34, "end": 92.46, "probability": 0.9551469683647156}, {"word": " was", "start": 92.46, "end": 92.64, "probability": 0.9986698627471924}, {"word": " 21", "start": 92.64, "end": 93.42, "probability": 0.5869777202606201}, {"word": "-22,", "start": 93.42, "end": 94.34, "probability": 0.6000285148620605}, {"word": " those", "start": 95.24, "end": 95.5, "probability": 0.9924105405807495}, {"word": " years", "start": 95.5, "end": 96.48, "probability": 0.9919769167900085}, {"word": " were", "start": 96.48, "end": 96.92, "probability": 0.987073540687561}]}, {"text": " spent constantly obsessed with martial arts. That was my whole day. I trained almost every day.", "start_time": 96.92, "words": [{"word": " spent", "start": 96.92, "end": 97.54, "probability": 0.1933244913816452}, {"word": " constantly", "start": 97.54, "end": 99.02, "probability": 0.9703220725059509}, {"word": " obsessed", "start": 99.02, "end": 99.44, "probability": 0.9957762360572815}, {"word": " with", "start": 99.44, "end": 100.1, "probability": 0.99601149559021}, {"word": " martial", "start": 100.1, "end": 100.38, "probability": 0.9850790500640869}, {"word": " arts.", "start": 100.38, "end": 100.8, "probability": 0.9980335831642151}, {"word": " That", "start": 101.32, "end": 101.38, "probability": 0.9500685930252075}, {"word": " was", "start": 101.38, "end": 101.52, "probability": 0.995235025882721}, {"word": " my", "start": 101.52, "end": 101.84, "probability": 0.9963334798812866}, {"word": " whole", "start": 101.84, "end": 102.14, "probability": 0.9987336993217468}, {"word": " day.", "start": 102.14, "end": 102.5, "probability": 0.9967413544654846}, {"word": " I", "start": 102.68, "end": 102.7, "probability": 0.944839358329773}, {"word": " trained", "start": 102.7, "end": 103.16, "probability": 0.2989615201950073}, {"word": " almost", "start": 103.16, "end": 103.56, "probability": 0.9803721308708191}, {"word": " every", "start": 103.56, "end": 103.96, "probability": 0.9566667675971985}, {"word": " day.", "start": 103.96, "end": 104.3, "probability": 0.9992027878761292}]}, {"text": " The only time I would not train is if I was either injured or if I was exhausted. If I needed a", "start_time": 104.78, "words": [{"word": " The", "start": 104.78, "end": 104.88, "probability": 0.9825407862663269}, {"word": " only", "start": 104.88, "end": 104.96, "probability": 0.9989909529685974}, {"word": " time", "start": 104.96, "end": 105.16, "probability": 0.9965577721595764}, {"word": " I", "start": 105.16, "end": 105.28, "probability": 0.9562024474143982}, {"word": " would", "start": 105.28, "end": 105.4, "probability": 0.9794172644615173}, {"word": " not", "start": 105.4, "end": 105.6, "probability": 0.9922507405281067}, {"word": " train", "start": 105.6, "end": 106.1, "probability": 0.9814891219139099}, {"word": " is", "start": 106.1, "end": 106.28, "probability": 0.6128244400024414}, {"word": " if", "start": 106.28, "end": 106.42, "probability": 0.9690247774124146}, {"word": " I", "start": 106.42, "end": 106.5, "probability": 0.9958362579345703}, {"word": " was", "start": 106.5, "end": 106.64, "probability": 0.9780122637748718}, {"word": " either", "start": 106.64, "end": 106.8, "probability": 0.950590968132019}, {"word": " injured", "start": 106.8, "end": 107.18, "probability": 0.9966088533401489}, {"word": " or", "start": 107.18, "end": 107.66, "probability": 0.968381404876709}, {"word": " if", "start": 107.66, "end": 108.34, "probability": 0.9721945524215698}, {"word": " I", "start": 108.34, "end": 108.46, "probability": 0.9965542554855347}, {"word": " was", "start": 108.46, "end": 108.64, "probability": 0.9938910007476807}, {"word": " exhausted.", "start": 108.64, "end": 109.32, "probability": 0.9914029240608215}, {"word": " If", "start": 109.92, "end": 110.04, "probability": 0.9751754999160767}, {"word": " I", "start": 110.04, "end": 110.14, "probability": 0.997977077960968}, {"word": " needed", "start": 110.14, "end": 110.4, "probability": 0.9960455298423767}, {"word": " a", "start": 110.4, "end": 110.68, "probability": 0.9673247337341309}]}, {"text": " day off, but I was obsessed. That part of my personality that I haven't nurtured is always", "start_time": 110.68, "words": [{"word": " day", "start": 110.68, "end": 110.8, "probability": 0.28448206186294556}, {"word": " off,", "start": 110.8, "end": 111.1, "probability": 0.93477863073349}, {"word": " but", "start": 111.1, "end": 111.3, "probability": 0.9917305111885071}, {"word": " I", "start": 111.3, "end": 111.38, "probability": 0.9904798865318298}, {"word": " was", "start": 111.38, "end": 111.52, "probability": 0.9991857409477234}, {"word": " obsessed.", "start": 111.52, "end": 111.82, "probability": 0.9768427610397339}, {"word": " That", "start": 112.6, "end": 113.36, "probability": 0.017142832279205322}, {"word": " part", "start": 113.36, "end": 114.38, "probability": 0.9694393277168274}, {"word": " of", "start": 114.38, "end": 114.54, "probability": 0.9963696002960205}, {"word": " my", "start": 114.54, "end": 114.68, "probability": 0.9977514147758484}, {"word": " personality", "start": 114.68, "end": 115.54, "probability": 0.991996705532074}, {"word": " that", "start": 115.54, "end": 116.0, "probability": 0.9317637085914612}, {"word": " I", "start": 116.0, "end": 116.1, "probability": 0.9953378438949585}, {"word": " haven't", "start": 116.1, "end": 116.4, "probability": 0.9662375152111053}, {"word": " nurtured", "start": 116.4, "end": 116.84, "probability": 0.996381938457489}, {"word": " is", "start": 116.84, "end": 117.08, "probability": 0.8778296113014221}, {"word": " always", "start": 117.08, "end": 117.46, "probability": 0.997109591960907}]}, {"text": " going to be there under the surface. When it gets reignited by something, it's very weird. It's", "start_time": 117.46, "words": [{"word": " going", "start": 117.46, "end": 117.7, "probability": 0.8140522241592407}, {"word": " to", "start": 117.7, "end": 117.76, "probability": 0.994944155216217}, {"word": " be", "start": 117.76, "end": 117.9, "probability": 0.9987407326698303}, {"word": " there", "start": 117.9, "end": 118.14, "probability": 0.9958716034889221}, {"word": " under", "start": 118.14, "end": 118.38, "probability": 0.9063915014266968}, {"word": " the", "start": 118.38, "end": 118.52, "probability": 0.996277391910553}, {"word": " surface.", "start": 118.52, "end": 118.94, "probability": 0.9893112182617188}, {"word": " When", "start": 119.76, "end": 119.92, "probability": 0.5642898678779602}, {"word": " it", "start": 119.92, "end": 120.36, "probability": 0.9812445044517517}, {"word": " gets", "start": 120.36, "end": 120.62, "probability": 0.9966712594032288}, {"word": " reignited", "start": 120.62, "end": 121.42, "probability": 0.8131983578205109}, {"word": " by", "start": 121.42, "end": 122.28, "probability": 0.9722568988800049}, {"word": " something,", "start": 122.28, "end": 122.72, "probability": 0.9958657026290894}, {"word": " it's", "start": 122.94, "end": 123.08, "probability": 0.9803647994995117}, {"word": " very", "start": 123.08, "end": 123.34, "probability": 0.7870607972145081}, {"word": " weird.", "start": 123.34, "end": 123.82, "probability": 0.998513400554657}, {"word": " It's", "start": 123.92, "end": 124.04, "probability": 0.9911073744297028}]}, {"text": " a weird feeling. It can get reignited with a video game. It can get reignited with anything.", "start_time": 124.04, "words": [{"word": " a", "start": 124.04, "end": 124.1, "probability": 0.9359051585197449}, {"word": " weird", "start": 124.1, "end": 124.3, "probability": 0.9975415468215942}, {"word": " feeling.", "start": 124.3, "end": 124.78, "probability": 0.9991666078567505}, {"word": " It", "start": 125.26, "end": 125.34, "probability": 0.9173822999000549}, {"word": " can", "start": 125.34, "end": 125.46, "probability": 0.9959015250205994}, {"word": " get", "start": 125.46, "end": 125.6, "probability": 0.9856033325195312}, {"word": " reignited", "start": 125.6, "end": 126.06, "probability": 0.9601501822471619}, {"word": " with", "start": 126.06, "end": 126.18, "probability": 0.987589418888092}, {"word": " a", "start": 126.18, "end": 126.28, "probability": 0.9447763562202454}, {"word": " video", "start": 126.28, "end": 126.52, "probability": 0.9866361021995544}, {"word": " game.", "start": 126.52, "end": 126.96, "probability": 0.9980984330177307}, {"word": " It", "start": 127.4, "end": 127.42, "probability": 0.7639885544776917}, {"word": " can", "start": 127.42, "end": 127.5, "probability": 0.9850950241088867}, {"word": " get", "start": 127.5, "end": 127.62, "probability": 0.9705297350883484}, {"word": " reignited", "start": 127.62, "end": 128.16, "probability": 0.9755595326423645}, {"word": " with", "start": 128.16, "end": 128.3, "probability": 0.5798546075820923}, {"word": " anything.", "start": 128.3, "end": 128.94, "probability": 0.8901369571685791}]}, {"text": " That obsessive, whatever it is, that competitive demon. The way you talk about guitar, I know you", "start_time": 129.64, "words": [{"word": " That", "start": 129.64, "end": 129.68, "probability": 0.8776929974555969}, {"word": " obsessive,", "start": 129.68, "end": 131.06, "probability": 0.9702470302581787}, {"word": " whatever", "start": 131.5, "end": 132.0, "probability": 0.825344979763031}, {"word": " it", "start": 132.0, "end": 132.28, "probability": 0.9968589544296265}, {"word": " is,", "start": 132.28, "end": 132.4, "probability": 0.9985888600349426}, {"word": " that", "start": 132.56, "end": 132.6, "probability": 0.9688212871551514}, {"word": " competitive", "start": 132.6, "end": 133.04, "probability": 0.9942759871482849}, {"word": " demon.", "start": 133.04, "end": 133.48, "probability": 0.9605427384376526}, {"word": " The", "start": 133.76, "end": 133.96, "probability": 0.7557146549224854}, {"word": " way", "start": 133.96, "end": 134.08, "probability": 0.9970040917396545}, {"word": " you", "start": 134.08, "end": 134.16, "probability": 0.9402732253074646}, {"word": " talk", "start": 134.16, "end": 134.3, "probability": 0.9886012673377991}, {"word": " about", "start": 134.3, "end": 134.5, "probability": 0.9991577863693237}, {"word": " guitar,", "start": 134.5, "end": 134.82, "probability": 0.9520556330680847}, {"word": " I", "start": 135.22, "end": 135.28, "probability": 0.9849246144294739}, {"word": " know", "start": 135.28, "end": 135.48, "probability": 0.9960231781005859}, {"word": " you", "start": 135.48, "end": 135.64, "probability": 0.9878212809562683}]}, {"text": " would fall in love with playing guitar, but I think you're very wise to not touch that thing.", "start_time": 135.64, "words": [{"word": " would", "start": 135.64, "end": 135.82, "probability": 0.42849910259246826}, {"word": " fall", "start": 135.82, "end": 136.6, "probability": 0.9610909819602966}, {"word": " in", "start": 136.6, "end": 136.74, "probability": 0.9984057545661926}, {"word": " love", "start": 136.74, "end": 136.84, "probability": 0.9975219368934631}, {"word": " with", "start": 136.84, "end": 136.98, "probability": 0.988459587097168}, {"word": " playing", "start": 136.98, "end": 137.22, "probability": 0.9907909631729126}, {"word": " guitar,", "start": 137.22, "end": 137.54, "probability": 0.9940446019172668}, {"word": " but", "start": 137.74, "end": 137.8, "probability": 0.9858192205429077}, {"word": " I", "start": 137.8, "end": 137.88, "probability": 0.9785937070846558}, {"word": " think", "start": 137.88, "end": 138.0, "probability": 0.998007595539093}, {"word": " you're", "start": 138.0, "end": 138.14, "probability": 0.9689960777759552}, {"word": " very", "start": 138.14, "end": 138.38, "probability": 0.9947816729545593}, {"word": " wise", "start": 138.38, "end": 138.76, "probability": 0.9783312082290649}, {"word": " to", "start": 138.76, "end": 139.02, "probability": 0.9609980583190918}, {"word": " not", "start": 139.02, "end": 139.18, "probability": 0.9985114932060242}, {"word": " touch", "start": 139.18, "end": 139.5, "probability": 0.9973412156105042}, {"word": " that", "start": 139.5, "end": 139.68, "probability": 0.9945634007453918}, {"word": " thing.", "start": 139.68, "end": 139.88, "probability": 0.9921489953994751}]}, {"text": " That's why I want golf. I have friends who want to golf. I'm like, I'm going to fuck you with that thing.", "start_time": 139.88, "words": [{"word": " That's", "start": 139.88, "end": 140.08, "probability": 0.5389358699321747}, {"word": " why", "start": 140.08, "end": 140.16, "probability": 0.9209914207458496}, {"word": " I", "start": 140.16, "end": 140.24, "probability": 0.895511269569397}, {"word": " want", "start": 140.24, "end": 140.32, "probability": 0.6842142343521118}, {"word": " golf.", "start": 140.32, "end": 140.6, "probability": 0.9875942468643188}, {"word": " I", "start": 141.22, "end": 141.6, "probability": 0.9766589999198914}, {"word": " have", "start": 141.6, "end": 141.68, "probability": 0.9816697835922241}, {"word": " friends", "start": 141.68, "end": 141.86, "probability": 0.9818918108940125}, {"word": " who", "start": 141.86, "end": 142.0, "probability": 0.9815104007720947}, {"word": " want", "start": 142.0, "end": 142.08, "probability": 0.8847543597221375}, {"word": " to", "start": 142.08, "end": 142.18, "probability": 0.853053629398346}, {"word": " golf.", "start": 142.18, "end": 142.46, "probability": 0.9003388285636902}, {"word": " I'm", "start": 142.46, "end": 142.72, "probability": 0.8692048788070679}, {"word": " like,", "start": 142.72, "end": 142.88, "probability": 0.9843233227729797}, {"word": " I'm", "start": 143.04, "end": 144.06, "probability": 0.23106660321354866}, {"word": " going", "start": 144.06, "end": 144.06, "probability": 0.06294078379869461}, {"word": " to", "start": 144.06, "end": 144.14, "probability": 0.9838746786117554}, {"word": " fuck", "start": 144.14, "end": 144.28, "probability": 0.680003821849823}, {"word": " you", "start": 144.28, "end": 144.4, "probability": 0.2546866536140442}, {"word": " with", "start": 144.4, "end": 144.48, "probability": 0.32038676738739014}, {"word": " that", "start": 144.48, "end": 144.66, "probability": 0.9945241212844849}, {"word": " thing.", "start": 144.66, "end": 144.88, "probability": 0.9880017638206482}]}]} \ No newline at end of file diff --git a/Frontend/assets/video.mp4 b/Frontend/assets/video.mp4 deleted file mode 100644 index fb5401a..0000000 Binary files a/Frontend/assets/video.mp4 and /dev/null differ diff --git a/Frontend/background.js b/Frontend/background.js deleted file mode 100644 index e69de29..0000000 diff --git a/Frontend/home.css b/Frontend/home.css deleted file mode 100644 index 8276d8f..0000000 --- a/Frontend/home.css +++ /dev/null @@ -1,192 +0,0 @@ - - body { - background-color: #1d2026; - overflow: hidden; - } - #navbar { - background: #1d2026; - height: 100vh; - width: 100%; - color: #fff; - position: relative; - } - - .camera-container{ - position: absolute; - top: 30%; - left: 2%; - width: 650px; - transition: 0.3s; - } - - .camera{ - width: 100%; - transition: 0.3s; - } - - - - .light{ - position: absolute; - width: 250%; - transform: translateX(-12%) translateY(-30%); - } - - #editor-container { - position: absolute; - top: 50px; - bottom: 0; - left: 0; - right: 0; - } - .ql-container.ql-snow { - background-color: #1d2026; - border: none; - } - .ql-toolbar.ql-snow { - display: none; - } - .ql-editor { - height: 100%; - color: #fff; - font-size: 30px; - opacity: 70%; - font-style: italic; - } - - .ql-editor::before { - color: #fff !important; - content: attr(data-placeholder); - /* font-style: normal; - pointer-events: none; - position: absolute; - white-space: pre; */ - } - - #center-button { - position: absolute; - /* width: 50px; */ - top: 50px; - left: 0; - right: 0; - background-color: white; - border: none; - border-radius: 5px; - padding: 10px 20px; - z-index: 9; -} - - nav{ - display: flex; - align-items: center; - padding: 20px 8%; - background-color: #1d2026; - } - - nav .menu-img { - width: 25px; - margin-right: 20px; - cursor: pointer; - } - - nav .logo { - transform: translateY(-18%); - cursor: pointer; - - } - - nav ul{ - flex: 1; - text-align: right; - display: inline-block; - - } - - nav ul li{ - display: inline-block; - list-style: none; - margin: 0 20px; - - } - - nav ul li a#login { - text-decoration: none; - background: #00986f; - padding: 10px 40px; - display: inline-block; - color: #fff; - border-radius: 3px; - - } - - nav ul li a{ - text-decoration: none; - color: white; - } - - - -button{ - background: #00986f; - background: #00986f; - padding: 10px 20px; - display: inline-block; - color: #fff; - border-radius: 6px; - font-size: 16px; - cursor: pointer; -} - -/* - -button span { - display: block; - background: #999; - height: 26px; - width: 26px; - border-radius: 50%; - margin-left: 2px; - -} */ - -.text-container{ - position: absolute; - max-width: 600px; - margin-top: 7%; - margin-left: 50%; - z-index: 3; -} - -.text-container h1{ - font-size: 80px; - font-weight: 400; - color: white; - transition: 0.3s; -} - -.text-container h1:hover{ - color: #f2ffb7; - font-size: 84px; -} - -.text-container p{ - font-size: 25px; - color: white; - transition: 0.3s; -} -/* .text-container p:hover{ - color: #f2ffb7; - font-size: 29px; -} */ - -.text-container a{ - text-decoration: none; - background: #00986f; - padding: 10px 40px; - display: inline-block; - color: #fff; - font-size: 18px; - margin-top: 30px; - border-radius: 30px; - -} \ No newline at end of file diff --git a/Frontend/images/Extended-logo.png b/Frontend/images/Extended-logo.png deleted file mode 100644 index fdc41fc..0000000 Binary files a/Frontend/images/Extended-logo.png and /dev/null differ diff --git a/Frontend/images/Logo-16.png b/Frontend/images/Logo-16.png deleted file mode 100644 index 7552634..0000000 Binary files a/Frontend/images/Logo-16.png and /dev/null differ diff --git a/Frontend/images/Logo-32.png b/Frontend/images/Logo-32.png deleted file mode 100644 index 81a56ff..0000000 Binary files a/Frontend/images/Logo-32.png and /dev/null differ diff --git a/Frontend/images/Logo.png b/Frontend/images/Logo.png deleted file mode 100644 index 6f73895..0000000 Binary files a/Frontend/images/Logo.png and /dev/null differ diff --git a/Frontend/images/OldSchoolCamera.png b/Frontend/images/OldSchoolCamera.png deleted file mode 100644 index cd6b825..0000000 Binary files a/Frontend/images/OldSchoolCamera.png and /dev/null differ diff --git a/Frontend/images/camera-light.png b/Frontend/images/camera-light.png deleted file mode 100644 index 32b7982..0000000 Binary files a/Frontend/images/camera-light.png and /dev/null differ diff --git a/Frontend/images/menu.png b/Frontend/images/menu.png deleted file mode 100644 index fc55837..0000000 Binary files a/Frontend/images/menu.png and /dev/null differ diff --git a/Frontend/Home.html b/Frontend/templates/Frontend/Home.html similarity index 65% rename from Frontend/Home.html rename to Frontend/templates/Frontend/Home.html index 5fefbbb..a1fcff7 100644 --- a/Frontend/Home.html +++ b/Frontend/templates/Frontend/Home.html @@ -1,17 +1,19 @@ +{% load static %} + - - + + - - + + Transcript-Home + + - + {% csrf_token %} + {{ new_form.as_p }}

Browse File to Upload

@@ -85,8 +87,8 @@ - - + + diff --git a/Frontend/upload-video.js b/Frontend/upload-video.js deleted file mode 100644 index 0061925..0000000 --- a/Frontend/upload-video.js +++ /dev/null @@ -1,88 +0,0 @@ -const form = document.querySelector("form"), -fileInput = document.querySelector(".file-input"), -progressArea = document.querySelector(".progress-area"), -uploadedArea = document.querySelector(".uploaded-area"); - - -// form click event -form.addEventListener("click", () =>{ - fileInput.click(); -}); - -fileInput.onchange = ({target})=>{ - let file = target.files[0]; //getting file [0] this means if user has selected multiple files then get first one only - if(file){ - console.log(file); - let fileName = file.name; //getting file name - if(fileName.length >= 12){ //if file name length is greater than 12 then split it and add ... - let splitName = fileName.split('.'); - fileName = splitName[0].substring(0, 13) + "... ." + splitName[1]; - } - uploadFile(fileName); - - var reader = new FileReader(); - - reader.onload = function(e){ - var src = e.target.result; - var video = document.getElementById("video"); - var source = document.getElementById("source") - - source.setAttribute("src", src); - video.load(); - } - - reader.readAsDataURL(file) - } - -} - -// file upload function -function uploadFile(name){ - let xhr = new XMLHttpRequest(); //creating new xhr object (AJAX) - xhr.open("POST", "php/upload.php"); //sending post request to the specified URL - xhr.upload.addEventListener("progress", ({loaded, total}) =>{ //file uploading progress event - let fileLoaded = Math.floor((loaded / total) * 100); //getting percentage of loaded file size - let fileTotal = Math.floor(total / 1000); //gettting total file size in KB from bytes - let fileSize; - // if file size is less than 1024 then add only KB else convert this KB into MB - (fileTotal < 1024) ? fileSize = fileTotal + " KB" : fileSize = (loaded / (1024*1024)).toFixed(2) + " MB"; - let progressHTML = `
  • - -
    -
    - ${name} • Uploading - ${fileLoaded}% -
    -
    -
    -
    -
    -
  • `; - uploadedArea.innerHTML = ""; - uploadedArea.classList.add("onprogress"); - progressArea.innerHTML = progressHTML; - if(loaded == total){ - progressArea.innerHTML = ""; - let uploadedHTML = `
  • -
    - -
    - ${name} • Uploaded - ${fileSize} -
    -
    - -
  • `; - uploadedArea.classList.remove("onprogress"); - uploadedArea.innerHTML = uploadedHTML; - document.getElementById("wrapper").style.visibility = "hidden"; - - - } - }); - let data = new FormData(form); //FormData is an object to easily send form data - xhr.send(data); //sending form data - load(); -} - - diff --git a/Frontend/video-editing.css b/Frontend/video-editing.css deleted file mode 100644 index d1680b9..0000000 --- a/Frontend/video-editing.css +++ /dev/null @@ -1,282 +0,0 @@ -/* Import Google font - Poppins */ -@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap'); -*{ - margin: 0; - padding: 0; - box-sizing: border-box; - font-family: "Poppins", sans-serif; -} -body{ - display: flex; - align-items: center; - justify-content: center; - min-height: 100vh; - background-color:#1d2026; -} - -::selection{ - color: #fff; - background: #1d2026; -} -#wrapper{ - width: 50%; - background: #454c5a; - border-radius: 5px; - padding: 30px; - box-shadow: 7px 7px 12px rgba(0,0,0,0.05); - z-index: 9; - -} -#wrapper header{ - color: #adc3fa; - font-size: 27px; - font-weight: 600; - text-align: center; -} -#wrapper form{ - height: 50%; - display: flex; - cursor: pointer; - margin: 30px 0; - align-items: center; - justify-content: center; - flex-direction: column; - border-radius: 5px; - border: 2px dashed #adc3fa; -} -form :where(i, p){ - color: #adc3fa; -} -form i{ - font-size: 50px; -} -form p{ - margin-top: 15px; - font-size: 16px; -} - -section .row{ - margin-bottom: 10px; - background: #E9F0FF; - list-style: none; - padding: 15px 20px; - border-radius: 5px; - display: flex; - align-items: center; - justify-content: space-between; -} -section .row i{ - color: #7283a6; - font-size: 30px; -} -section .details span{ - font-size: 14px; -} -.progress-area .row .content{ - width: 100%; - margin-left: 15px; -} -.progress-area .details{ - display: flex; - align-items: center; - margin-bottom: 7px; - justify-content: space-between; -} -.progress-area .content .progress-bar{ - height: 6px; - width: 100%; - margin-bottom: 4px; - background: #fff; - border-radius: 30px; -} -.content .progress-bar .progress{ - height: 100%; - width: 0%; - background: #7283a6; - border-radius: inherit; -} -.uploaded-area{ - max-height: 232px; - overflow-y: scroll; -} -.uploaded-area.onprogress{ - max-height: 150px; -} -.uploaded-area::-webkit-scrollbar{ - width: 0px; -} -.uploaded-area .row .content{ - display: flex; - align-items: center; -} -.uploaded-area .row .details{ - display: flex; - margin-left: 15px; - flex-direction: column; -} -.uploaded-area .row .details .size{ - color: #404040; - font-size: 11px; -} -.uploaded-area i.fa-check{ - font-size: 16px; -} - - - - -#navbar { - position: absolute; - top: 0; - left: 0; - right: 0; - height: 5%; - background-color: #1d2026; - display: flex; - align-items: center; - padding: 0 20px; -} - -nav{ - display: flex; - align-items: center; - padding: 20px 8%; - } - -nav .menu-img { - width: 25px; - margin-right: 20px; - cursor: pointer; -} - -nav .logo { - /* width: 160px; */ - - cursor: pointer; - -} - -nav ul{ - flex: 1; - text-align: right; - -} - -nav ul li{ - display: inline-block; - list-style: none; - margin: 0 20px; -} - -nav ul li a{ - text-decoration: none; - color: white; -} - - -#editor-container { - display: flex; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - background-color: #1d2026; -} - -#editor-container p { - color: white; -} - -.transcript-container { - width: 30%; - height: 70%; - float: left; - font-family: Arial, sans-serif; - padding: 50px; - border: 2px white; - overflow: scroll; - -} - -.transcript-container::-webkit-scrollbar{ - display: none; -} - -.transcript-header { - font-size: 24px; - font-weight: bold; - margin-bottom: 20px; -} - -#transcript p{ - font-size: 24px; - font-weight: bold; - -} - -#transcript span{ - transition: 0.32s; -} - -#transcript span:hover{ - color: #00d199; - font-size: 28px; -} - -/* .transcript-textarea { - width: 100%; - height: 80%; - padding: 10px; - font-size: 16px; - border: 1px solid #ddd; - border-radius: 5px; - resize: none; -} */ - -.transcript-controls { - margin-top: 20px; - text-align: right; -} - -.transcript-controls button { - padding: 10px 20px; - font-size: 16px; - background-color: #00986f; - color: #fff; - border: none; - border-radius: 5px; - cursor: pointer; -} - -.video-container { - width: 70%; - height: 100%; - float: right; - padding: 50px; -} - -.video-header { - font-size: 24px; - font-weight: bold; - margin-bottom: 20px; -} - -.video-canvas { - width: 100%; - height: 60%; - border: 1px solid #ddd; - border-radius: 5px; -} - -.video-container video { - width: 100%; -} - -#timeline { - width: 100%; - height: 20%; - margin-top: 20px; - background-color: #454c5a; - border-radius: 5px; -} \ No newline at end of file diff --git a/Frontend/video-editing.js b/Frontend/video-editing.js deleted file mode 100644 index 613bd58..0000000 --- a/Frontend/video-editing.js +++ /dev/null @@ -1,68 +0,0 @@ -let transcriptArea = document.getElementById("transcript"); -let transcriptHTML = ` `; - -function load(){ -fetch('assets/output.json') - .then(response => response.json()) - .then(data => { - // Use the data object here - processData(data); - }); -} - -function processData(data) { - - line = ''; - paragraph = `

    ` - console.log(data["timestamps"]); - data = data["timestamps"]; - for (i = 0; i < data.length; i++) { - for (j=0; j 40) { - paragraph += `

    `; - transcriptHTML += paragraph; - paragraph = '

    '; - line = word; - } else { - line += `${word}`; - paragraph += `${word}`; - } - } - } - - // transcriptHTML += `

    ${line.trim()}

    `; - - transcriptArea.innerHTML = transcriptHTML; - - // Add event listeners to the lines - var words = transcriptArea.getElementsByTagName("span"); - for (var i = 0; i < words.length; i++) { - var word = words[i]; - var time = word.getAttribute("data-time"); - - word.addEventListener("click", (function(time) { - return function() { - var video = document.getElementById("video"); - - // Set the video's current time to the time attribute - video.currentTime = time; - video.play(); - } - })(time)); - } -} - -document.getElementById("play-button").addEventListener("click", function() { -// Code to play the video goes here -}); - -document.getElementById("pause-button").addEventListener("click", function() { -// Code to pause the video goes here -}); - -document.getElementById("stop-button").addEventListener("click", function() { -// Code to stop the video goes here -}); \ No newline at end of file diff --git a/transcription/admin.py b/transcription/admin.py index 8c38f3f..aa6558d 100644 --- a/transcription/admin.py +++ b/transcription/admin.py @@ -1,3 +1,6 @@ from django.contrib import admin # Register your models here. +from .models import Video + +admin.site.register(Video) diff --git a/transcription/forms.py b/transcription/forms.py index 1e2ac01..65eee99 100644 --- a/transcription/forms.py +++ b/transcription/forms.py @@ -1,7 +1,8 @@ -from django import forms -from .models import UserUpload +# helpers.py -class VideoForm(forms.ModelForm): - class Meta: - model= UserUpload - fields= '__all__' \ No newline at end of file +from django.core.files.storage import FileSystemStorage + +def handle_uploaded_file(f): + fs = FileSystemStorage(location='uploads/') + filename = fs.save(f.name, f) + return filename diff --git a/transcription/migrations/0001_initial.py b/transcription/migrations/0001_initial.py new file mode 100644 index 0000000..5fc73b2 --- /dev/null +++ b/transcription/migrations/0001_initial.py @@ -0,0 +1,22 @@ +# Generated by Django 4.1.7 on 2023-02-26 09:00 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='Video', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('caption', models.CharField(max_length=100)), + ('UserVideo', models.FileField(upload_to='video/%y')), + ], + ), + ] diff --git a/transcription/models.py b/transcription/models.py index 8e5de70..0b64316 100644 --- a/transcription/models.py +++ b/transcription/models.py @@ -1,5 +1,8 @@ from django.db import models # Create your models here. -class UserUpload(models.Model): - UserVideo = models.FileField( blank=True, null=True) \ No newline at end of file +class Video(models.Model): + caption = models.CharField(max_length=100) + UserVideo = models.FileField(upload_to="video/%y") + def __str__(self): + return self.caption \ No newline at end of file diff --git a/transcription/urls.py b/transcription/urls.py index 3ef24d9..253e634 100644 --- a/transcription/urls.py +++ b/transcription/urls.py @@ -1,7 +1,11 @@ from django.urls import path - +from django.conf import settings +from django.conf.urls.static import static from . import views +from .views import upload_file urlpatterns = [ path('', views.index, name='index'), -] \ No newline at end of file + path('video-editing/', views.index2, name='index2'), + path('uploads/', upload_file, name='upload_file'), +] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) \ No newline at end of file diff --git a/transcription/views.py b/transcription/views.py index d12ef86..fe7cb3d 100644 --- a/transcription/views.py +++ b/transcription/views.py @@ -1,23 +1,19 @@ # from django.shortcuts import render from django.http import HttpResponse from django.shortcuts import render -from .models import UserUpload -from .forms import VideoForm +from .forms import handle_uploaded_file -def showvideo(request): +def index(request): + return render(request, 'Frontend/Home.html') - form= VideoForm(request.POST, request.FILES) - if form.is_valid(): - form.save() - - context= { - 'form': form - } - - - return render(request, 'video-editing.html', context) +def index2(request): + return render(request, 'Frontend/video-editing.html') -def index(request): - return HttpResponse("Hello, world. You're at the transcription index.") + +def upload_file(request): + if request.method == 'POST': + uploaded_file = request.FILES['file'] + handle_uploaded_file(uploaded_file) + return HttpResponse(status=204) # Return a "No Content" response diff --git a/transcriptsite/settings.py b/transcriptsite/settings.py index 224523c..f867f0d 100644 --- a/transcriptsite/settings.py +++ b/transcriptsite/settings.py @@ -11,6 +11,7 @@ """ from pathlib import Path +import os # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent @@ -31,6 +32,7 @@ # Application definition INSTALLED_APPS = [ + 'Frontend', 'transcription.apps.TranscriptionConfig', 'django.contrib.admin', 'django.contrib.auth', @@ -119,8 +121,12 @@ STATIC_URL = 'static/' -MEDIA_URL = 'media/' -MEDIA_ROOT = BASE_DIR / 'uploads' +STATICFILES_DIRS = [ + os.path.join(BASE_DIR, 'static') +] + +MEDIA_URL = '/media/' +MEDIA_ROOT = os.path.join(BASE_DIR, "media/") # Default primary key field type diff --git a/transcriptsite/urls.py b/transcriptsite/urls.py index ddc245e..83aef22 100644 --- a/transcriptsite/urls.py +++ b/transcriptsite/urls.py @@ -18,7 +18,8 @@ from django.conf import settings from django.conf.urls.static import static + urlpatterns = [ - path('transcription/', include('transcription.urls')), + path('', include('transcription.urls')), path('admin/', admin.site.urls), ] + static(settings.MEDIA_URL, document_root= settings.MEDIA_ROOT)