From 04c0621a05af0f3e5d3c701e447361c6e463fbee Mon Sep 17 00:00:00 2001 From: Alina5757 <445390@mail.ru> Date: Mon, 18 Dec 2023 19:25:37 +0400 Subject: [PATCH] zhukova_alina_lab_7 is ready --- zhukova_alina_lab_7/flask-server.py | 120 ++++++++++++++++++++ zhukova_alina_lab_7/img_screen_1.png | Bin 0 -> 13966 bytes zhukova_alina_lab_7/img_screen_2.png | Bin 0 -> 19120 bytes zhukova_alina_lab_7/img_screen_3.png | Bin 0 -> 20619 bytes zhukova_alina_lab_7/img_screen_4.png | Bin 0 -> 16714 bytes zhukova_alina_lab_7/img_screen_5.png | Bin 0 -> 14785 bytes zhukova_alina_lab_7/lab_4_1__7_text_eng.txt | 1 + zhukova_alina_lab_7/lab_4_1__7_text_rus.txt | 1 + zhukova_alina_lab_7/readme.md | 80 +++++++++++++ 9 files changed, 202 insertions(+) create mode 100644 zhukova_alina_lab_7/flask-server.py create mode 100644 zhukova_alina_lab_7/img_screen_1.png create mode 100644 zhukova_alina_lab_7/img_screen_2.png create mode 100644 zhukova_alina_lab_7/img_screen_3.png create mode 100644 zhukova_alina_lab_7/img_screen_4.png create mode 100644 zhukova_alina_lab_7/img_screen_5.png create mode 100644 zhukova_alina_lab_7/lab_4_1__7_text_eng.txt create mode 100644 zhukova_alina_lab_7/lab_4_1__7_text_rus.txt create mode 100644 zhukova_alina_lab_7/readme.md diff --git a/zhukova_alina_lab_7/flask-server.py b/zhukova_alina_lab_7/flask-server.py new file mode 100644 index 0000000..9ee7e72 --- /dev/null +++ b/zhukova_alina_lab_7/flask-server.py @@ -0,0 +1,120 @@ +from sre_parse import Tokenizer + +import numpy as np +from flask import Flask +from keras.layers import Dense, LSTM, Embedding +from keras.models import load_model, Sequential +from keras_preprocessing.sequence import pad_sequences + +app = Flask(__name__) + + +@app.route("/") +def home(): + return "" \ + "
" \ + "" \ + " | " \ + "
CSsxLaV#G<-?&CRP{d6y2~y3^;gi{VK3|con_|sZ~Y(9Fz6_(aY7qTV!98f`ZtV-
zWPa8{H}Wt-J`Z<1mjp_~^eb$fnM5usT+XSiIM9xJFKT}x>rL^jW$Fwjdhe&%b_Dfp
z*ZZY@c0o~vkGNaG#nKtKO<>*a2)1=hMtT`_M7Nf-JU3{+rMvrkqZi53Tn&%{s+%9u
zx$dCNwgb)3tFCNHa`2+{{2$mDAj}gPwNf)@mUaypVG{gGU7nI}-N i?H0!T(o3 -YKI*Zap|L
zZp9gwsgewaPF~5M+DZdW81sC|F{-?afx&8@q7!HrCO>XVr90!A$mJQo=QG*j C`>{X*ZKSw%nVm&9k<4hRHofH}vV|#SfoM`(p;g_jK>!9nkvtuL*1;!s
zLZY`F{w8S 0(0{&=EiHi7dFch?a1ygp6zx&
z!BQD&$@td)I<_d|6m281sf?
z|1-%&&yY0d-#F|qlE~wbYRDK49kV2n7c;6?WB@T;*A8}(&Oi$7w~k0=5jv{9}k)h>5joiBF)G|K~;MJs7%LH9rU$H7d5gJ0d+
zWkecaP8rpFt*$YcPi9d1mrr(j2m?kX_R=aE)8n&&
bLz9*XR2M%1X7jx
zA)?aMcr8mHETcq*hZ1MxqhYdp!(nz-$)^x(oeItiEcmNnZ3rp@J21^;EEIDX5CD7%(MimE%p99AZhH|B;yCjesC+{^a(
zsK^l0+{lj@vSIht2zJ*OS-e1(-rD8S3VppWRd