LeireTedCas commited on
Commit
a8ac691
1 Parent(s): 29bef75

Upload 61 files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .dockerignore +7 -0
  2. .gitignore +6 -0
  3. gitattributes.txt +35 -0
  4. make_req.py +21 -0
  5. models/transformers/config.json +47 -0
  6. models/transformers/special_tokens_map.json +7 -0
  7. models/transformers/tf_model.h5 +3 -0
  8. models/transformers/tokenizer.json +0 -0
  9. models/transformers/tokenizer_config.json +16 -0
  10. models/transformers/vocab.txt +0 -0
  11. preguntas_qh_tags2.xlsx +0 -0
  12. save_hf_model.py +25 -0
  13. static/IMG/adm.jpeg +0 -0
  14. static/IMG/ajustes.png +0 -0
  15. static/IMG/ambulancias_img.jpg +0 -0
  16. static/IMG/estrella.png +0 -0
  17. static/IMG/flecha.png +0 -0
  18. static/IMG/guia_visual.png +0 -0
  19. static/IMG/lupa.png +0 -0
  20. static/IMG/mapa_camas_img.jpg +0 -0
  21. static/IMG/materiales.png +0 -0
  22. static/IMG/micro.png +0 -0
  23. static/IMG/otros_img.png +0 -0
  24. static/IMG/pdf_casa.jpg +0 -0
  25. static/IMG/programacion_img.png +0 -0
  26. static/IMG/protocolo.jpg +0 -0
  27. static/IMG/tijerass.png +0 -0
  28. static/IMG/trauma.jpeg +0 -0
  29. static/IMG/uro.jpeg +0 -0
  30. static/IMG/visualizar_video.png +0 -0
  31. templates/ajustes.html +24 -0
  32. templates/ambulancias.html +47 -0
  33. templates/buscador_admision.html +62 -0
  34. templates/buscador_trauma.html +80 -0
  35. templates/buscador_uro.html +78 -0
  36. templates/caja_trauma.html +50 -0
  37. templates/escuchar_admision.html +65 -0
  38. templates/escuchar_admision1.html +47 -0
  39. templates/escuchar_trauma.html +63 -0
  40. templates/escuchar_trauma1.html +44 -0
  41. templates/escuchar_uro.html +63 -0
  42. templates/escuchar_uro1.html +45 -0
  43. templates/especialidad.html +51 -0
  44. templates/guia_visual.html +46 -0
  45. templates/instrumental_trauma.html +41 -0
  46. templates/instrumental_uro.html +41 -0
  47. templates/intervencion_trauma.html +30 -0
  48. templates/intervencion_uro.html +30 -0
  49. templates/mapa_camas.html +47 -0
  50. templates/materiales.html +32 -0
.dockerignore ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ .gitignore
2
+ fapp_env
3
+ README.md
4
+ todos.txt
5
+ make_req.py
6
+ save_hf_models.py
7
+
.gitignore ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ fapp_env
2
+ _models
3
+ yedek
4
+ todos.txt
5
+ readme.txt
6
+ linkedin post
gitattributes.txt ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
make_req.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #%%
2
+ import requests
3
+ import json
4
+ #%%
5
+ # url = "http://127.0.0.1:5000/" # for flask
6
+ url = "http://127.0.0.1:5000/" # for docker if exposed to 9000
7
+ data = ["good", "bad"]
8
+ j_data = json.dumps(data)
9
+ headers = {'content-type': 'application/json', 'Accept-Charset': 'UTF-8'}
10
+ r = requests.post(url, data=j_data, headers=headers)
11
+ print(r, r.text)
12
+ # %%
13
+ # r
14
+ # %%
15
+ # sent_score = json.loads(r.text)
16
+ # sent_score
17
+ # %%
18
+ # label = sent_score[0]["label"]
19
+ # score = sent_score[0]["score"]
20
+ # label, score
21
+ # %%
models/transformers/config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nlptown/bert-base-multilingual-uncased-sentiment",
3
+ "_num_labels": 5,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "directionality": "bidi",
10
+ "finetuning_task": "sentiment-analysis",
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "1 star",
16
+ "1": "2 stars",
17
+ "2": "3 stars",
18
+ "3": "4 stars",
19
+ "4": "5 stars"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "1 star": 0,
25
+ "2 stars": 1,
26
+ "3 stars": 2,
27
+ "4 stars": 3,
28
+ "5 stars": 4
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "max_position_embeddings": 512,
32
+ "model_type": "bert",
33
+ "num_attention_heads": 12,
34
+ "num_hidden_layers": 12,
35
+ "output_past": true,
36
+ "pad_token_id": 0,
37
+ "pooler_fc_size": 768,
38
+ "pooler_num_attention_heads": 12,
39
+ "pooler_num_fc_layers": 3,
40
+ "pooler_size_per_head": 128,
41
+ "pooler_type": "first_token_transform",
42
+ "position_embedding_type": "absolute",
43
+ "transformers_version": "4.30.2",
44
+ "type_vocab_size": 2,
45
+ "use_cache": true,
46
+ "vocab_size": 105879
47
+ }
models/transformers/special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
models/transformers/tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a63ce87f2f25c0d57071c70703df188adee50fe28aef9e9fccd3220489fac20
3
+ size 669729060
models/transformers/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
models/transformers/tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": true,
6
+ "mask_token": "[MASK]",
7
+ "max_len": 512,
8
+ "model_max_length": 512,
9
+ "never_split": null,
10
+ "pad_token": "[PAD]",
11
+ "sep_token": "[SEP]",
12
+ "strip_accents": null,
13
+ "tokenize_chinese_chars": true,
14
+ "tokenizer_class": "BertTokenizer",
15
+ "unk_token": "[UNK]"
16
+ }
models/transformers/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
preguntas_qh_tags2.xlsx ADDED
Binary file (39.7 kB). View file
 
save_hf_model.py ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #%% import required libraries
2
+ from transformers import pipeline
3
+ from transformers import AutoTokenizer, TFAutoModelForSequenceClassification
4
+ model_path = 'models/transformers/' # will be created automatically if not exists
5
+
6
+ #%% download and save the model to local directory
7
+ model_name = "nlptown/bert-base-multilingual-uncased-sentiment"
8
+
9
+ model = TFAutoModelForSequenceClassification.from_pretrained(model_name, from_pt=True)
10
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
11
+ classifier = pipeline('sentiment-analysis', model=model, tokenizer=tokenizer)
12
+ classifier.save_pretrained(model_path)
13
+ #%% test if it works
14
+ classifier(["good"])
15
+
16
+ #%% load model from local directory if it works
17
+ model = TFAutoModelForSequenceClassification.from_pretrained(model_path, local_files_only=True)
18
+ print("----------- model loaded from local dir ------------")
19
+ tokenizer = AutoTokenizer.from_pretrained(model_path, local_files_only=True)
20
+ print("----------- tokenizer loaded from local dir ------------")
21
+ classifier = pipeline('sentiment-analysis', model=model, tokenizer=tokenizer)
22
+
23
+ classifier(["good"])
24
+
25
+ # %%
static/IMG/adm.jpeg ADDED
static/IMG/ajustes.png ADDED
static/IMG/ambulancias_img.jpg ADDED
static/IMG/estrella.png ADDED
static/IMG/flecha.png ADDED
static/IMG/guia_visual.png ADDED
static/IMG/lupa.png ADDED
static/IMG/mapa_camas_img.jpg ADDED
static/IMG/materiales.png ADDED
static/IMG/micro.png ADDED
static/IMG/otros_img.png ADDED
static/IMG/pdf_casa.jpg ADDED
static/IMG/programacion_img.png ADDED
static/IMG/protocolo.jpg ADDED
static/IMG/tijerass.png ADDED
static/IMG/trauma.jpeg ADDED
static/IMG/uro.jpeg ADDED
static/IMG/visualizar_video.png ADDED
templates/ajustes.html ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 2.5rem;background-color: purple;">AJUSTES:</h2>
12
+
13
+ <form action="{{url_for('buscador_trauma')}}" method="post">
14
+ <h3 onclick="location.href='http://127.0.0.1:7860/especialidad'"style="font-size=1.6rem"> <img src="{{ user_image7 }}" alt="" width="5%">Cambiar de especialidad</h3>
15
+
16
+ </form>
17
+
18
+
19
+ <br>
20
+ <br>
21
+
22
+ </div>
23
+ </body>
24
+ </html>
templates/ambulancias.html ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: lightcyan;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/buscador_admision'"> Ambulancias: </h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <hr/>
14
+
15
+ <form action="{{url_for('ambulancias')}}" method="post">
16
+
17
+
18
+
19
+
20
+ {% for titulo,url in text.items() %}
21
+
22
+ <a href="{{url}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
23
+ <br>
24
+ <br>
25
+ {% endfor %}
26
+
27
+ </form>
28
+
29
+
30
+
31
+
32
+ </div>
33
+ </body>
34
+ </html>
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+ </div>
46
+ </body>
47
+ </html>
templates/buscador_admision.html ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <title> Quirohelp </title>
7
+
8
+
9
+ </head>
10
+ <body>
11
+ <div class="login22">
12
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: gray;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Admisión: </h2>
13
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
14
+ <hr/>
15
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Barra de busqueda:</h2>
16
+ <form action="{{url_for('buscador_admision')}}" method="post">
17
+ <input type="search" name="busqueda" placeholder="Escriba aquí la busqueda a realizar" style="box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);width: 70%; border:3px solid black; border-radius: 10px;font-size: 1.5rem;"required="required" >
18
+
19
+
20
+ <button type="submit" class="btn btn-primary btn-block btn-large" style="padding-bottom: 1%;width:4%;background-color: rgb(0, 128, 255);border:1px solid white; border-radius: 30%;box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);" > <img src="{{ user_image4 }}" alt="" style="max-width:100%;padding-bottom: 0.5%;" > </button>
21
+ <br>
22
+ <br>
23
+ <button type="button" name="escu" style="padding-right: 78%;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.4rem;background-color: white; border: solid white" onclick="location.href='http://127.0.0.1:7860/escuchar_admision1'">Ir al asistente de voz: <img src="{{ user_image5 }}" style="max-width:20%;border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='http://127.0.0.1:5000/escuchar_admision1'"></button>
24
+ <br>
25
+ <br>
26
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
27
+ {% for titulo,link in result_busqueda.items() %}
28
+
29
+ <a href="{{link}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
30
+ <br>
31
+ <br>
32
+ {% endfor %}
33
+
34
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
35
+ <br>
36
+ <br>
37
+ {% for faq in faqs %}
38
+
39
+
40
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
41
+ <br>
42
+ <br>
43
+
44
+ {% endfor %}
45
+
46
+ <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
47
+ <br>
48
+ <br>
49
+ <img src="{{ user_image8 }}" style="max-width:30%;" onclick="location.href='http://127.0.0.1:7860/mapa_camas'">
50
+ <img src="{{ user_image9 }}" style="max-width:30%;" onclick="location.href='http://127.0.0.1:7860/ambulancias'" >
51
+
52
+
53
+ <br>
54
+ <img src="{{ user_image10 }}" style="max-width:30%;" onclick="location.href='http://127.0.0.1:7860/programacion_quirurgica'">
55
+ <img src="{{ user_image11 }}" style="max-width:30%;" onclick="location.href='http://127.0.0.1:7860/otros'" >
56
+
57
+
58
+ </form>
59
+
60
+ </div>
61
+ </body>
62
+ </html>
templates/buscador_trauma.html ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: darkcyan;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Traumatología</h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <hr/>
14
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Barra de busqueda:</h2>
15
+ <form action="{{url_for('buscador_trauma')}}" method="post">
16
+ <input type="search" name="busqueda" placeholder="Escriba aquí la busqueda a realizar" style="box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);width: 70%; border:3px solid black; border-radius: 10px;font-size: 1.5rem;"required="required" >
17
+
18
+
19
+ <button type="submit" class="btn btn-primary btn-block btn-large" style="padding-bottom: 1%;width:4%;background-color: rgb(0, 128, 255);border:1px solid white; border-radius: 30%;box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);" > <img src="{{ user_image4 }}" alt="" style="max-width:100%;padding-bottom: 0.5%;" > </button>
20
+ <br>
21
+ <br>
22
+ <button type="button" name="escu" style="padding-right: 78%;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.4rem;background-color: white; border: solid white" onclick="location.href='http://127.0.0.1:7860/escuchar_trauma1'">Ir al asistente de voz: <img src="{{ user_image5 }}" style="max-width:20%;border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='http://127.0.0.1:7860/escuchar_trauma1'"></button>
23
+ <br>
24
+ <br>
25
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
26
+ {% for nid,titulo in result_busqueda.items() %}
27
+
28
+ <a href="http://127.0.0.1:7860/resultado_trauma?link={{nid}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
29
+ <br>
30
+ <br>
31
+ {% endfor %}
32
+
33
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
34
+ <br>
35
+ <br>
36
+ {% for faq in faqs %}
37
+
38
+
39
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
40
+ <br>
41
+ <br>
42
+
43
+ {% endfor %}
44
+
45
+ <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
46
+ <br>
47
+ <br>
48
+ <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/pdf_casa_trauma?link2={{nid2}}'">
49
+ <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/protocolos_trauma?link2={{nid2}}'" >
50
+ <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/guia_visual_trauma?link2={{nid2}}'" >
51
+ <br>
52
+ <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/videos_trauma?link2={{nid2}}'">
53
+ <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/materiales_trauma?link2={{nid2}}'">
54
+ <br>
55
+ <br>
56
+
57
+ <br>
58
+ <br>
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+ </form>
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+ </div>
79
+ </body>
80
+ </html>
templates/buscador_uro.html ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: saddlebrown;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Urología </h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <hr/>
14
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Barra de busqueda:</h2>
15
+ <form action="{{url_for('buscador_uro')}}" method="post">
16
+ <input type="search" name="busqueda" placeholder="Escriba aquí la busqueda a realizar" style="box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);width: 50%; border:2% solid black; border-radius: 0.5rem;font-size: 1.5rem;"required="required" >
17
+
18
+
19
+ <button type="submit" class="btn btn-primary btn-block btn-large" style="padding-bottom: 1%;width:4%;background-color: rgb(0, 128, 255);border:solid white; border-radius: 0.8rem;box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);" > <img src="{{ user_image4 }}" alt="" style="max-width:100%;padding-bottom: 0.5%;" > </button>
20
+ <br>
21
+
22
+ <br>
23
+ <button type="button" name="escu" style="padding-right: 78%;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.4rem;background-color: white; border: solid white" onclick="location.href='http://127.0.0.1:7860/escuchar_uro1'">Ir al asistente de voz: <img src="{{ user_image5 }}" style="max-width:20%;border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='http://127.0.0.1:7860/escuchar_uro1'"></button>
24
+ <br>
25
+ <br>
26
+
27
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
28
+ <br>
29
+
30
+
31
+ {% for nid,titulo in result_busqueda.items() %}
32
+
33
+ <a href="http://127.0.0.1:7860/resultado_uro?link={{nid}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
34
+ <br>
35
+ <br>
36
+ {% endfor %}
37
+
38
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
39
+ <br>
40
+ <br>
41
+ {% for faq in faqs %}
42
+
43
+
44
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
45
+ <br>
46
+ <br>
47
+
48
+ {% endfor %}
49
+
50
+ <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
51
+ <br>
52
+ <br>
53
+ <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/pdf_casa_uro?link2={{nid2}}'">
54
+ <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/protocolos_uro?link2={{nid2}}'" >
55
+ <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/guia_visual_uro?link2={{nid2}}'" >
56
+ <br>
57
+ <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/videos_uro?link2={{nid2}}'">
58
+ <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/materiales_uro?link2={{nid2}}'">
59
+
60
+
61
+
62
+
63
+
64
+
65
+ </form>
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+ </div>
77
+ </body>
78
+ </html>
templates/caja_trauma.html ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: coral;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Materiales - Cajas : </h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <hr/>
14
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.6rem;">{{title}} :</h2>
15
+ <form action="{{url_for('resultado_trauma')}}" method="post">
16
+
17
+ <br>
18
+ <strong style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{texto_ubi}}</b>
19
+ <strong style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;" >{{file_texto_ubi}}</strong>
20
+ <br>
21
+ <br>
22
+ {% for file in file_imagen %}
23
+ <img src="{{file}}" alt="" style="max-width: 100%;">
24
+ {% endfor %}
25
+ <br>
26
+ <br>
27
+ <strong style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{texto_instru}}</strong>
28
+ <br>
29
+ <br>
30
+ {% for file_instru in files_instru %}
31
+ <li>
32
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;" >{{file_instru}}</b>
33
+ </li>
34
+ <br>
35
+ {% endfor %}
36
+
37
+
38
+
39
+
40
+
41
+ </form>
42
+
43
+
44
+ <br>
45
+ <br>
46
+
47
+
48
+ </div>
49
+ </body>
50
+ </html>
templates/escuchar_admision.html ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: gray;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Admisión: </h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <hr/>
14
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
+ <form action="{{url_for('escuchar_admision')}}" method="post">
16
+ <button type="submit" style="padding-right: 85%;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.2rem;padding-left: 1%;background-color: white; border: solid white" >Escuchar: <img src="{{ user_image5 }}" width="30% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" ></button>
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+ <br>
25
+ <br>
26
+
27
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
28
+ {% for titulo,link in result_busqueda.items() %}
29
+
30
+ <a href="{{link}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
31
+ <br>
32
+ <br>
33
+ {% endfor %}
34
+
35
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
36
+ <br>
37
+ <br>
38
+
39
+ {% for faq in faqs %}
40
+
41
+
42
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
43
+ <br>
44
+ <br>
45
+
46
+ {% endfor %}
47
+
48
+ <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
49
+ <br>
50
+ <br>
51
+ <img src="{{ user_image8 }}" style="max-width:30%;" onclick="location.href='http://127.0.0.1:7860/mapa_camas'">
52
+ <img src="{{ user_image9 }}" style="max-width:30%;" onclick="location.href='http://127.0.0.1:7860/ambulancias'" >
53
+
54
+
55
+ <br>
56
+ <img src="{{ user_image10 }}" style="max-width:30%;" onclick="location.href='http://127.0.0.1:7860/programacion_quirurgica'">
57
+ <img src="{{ user_image11 }}" style="max-width:30%;" onclick="location.href='http://127.0.0.1:7860/otros'" >
58
+
59
+
60
+ </form>
61
+
62
+
63
+ </div>
64
+ </body>
65
+ </html>
templates/escuchar_admision1.html ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: gray;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Admisión: </h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <hr/>
14
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
+ <form action="{{url_for('escuchar_admision1')}}" method="post">
16
+ <button type="button" style="padding-right: 85%;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.2rem;padding-left: 1%;background-color: white; border: solid white" onclick="location.href='http://127.0.0.1:7860/escuchar_admision'">Escuchar: <img src="{{ user_image5 }}" width="30% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='http://127.0.0.1:7860/escuchar_admision'"></button>
17
+
18
+
19
+
20
+
21
+ </form>
22
+
23
+
24
+ <br>
25
+ <br>
26
+
27
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
28
+
29
+ <br>
30
+ <br>
31
+ <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
32
+ <br>
33
+ <br>
34
+ <img src="{{ user_image8 }}" style="max-width:30%;" onclick="location.href='http://127.0.0.1:7860/mapa_camas'">
35
+ <img src="{{ user_image9 }}" style="max-width:30%;" onclick="location.href='http://127.0.0.1:7860/ambulancias'" >
36
+
37
+
38
+ <br>
39
+ <img src="{{ user_image10 }}" style="max-width:30%;" onclick="location.href='http://127.0.0.1:7860/programacion_quirurgica'">
40
+ <img src="{{ user_image11 }}" style="max-width:30%;" onclick="location.href='http://127.0.0.1:7860/otros'" >
41
+
42
+
43
+
44
+
45
+ </div>
46
+ </body>
47
+ </html>
templates/escuchar_trauma.html ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: darkcyan;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Traumatología</h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <hr/>
14
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
+ <form action="{{url_for('escuchar_trauma')}}" method="post">
16
+ <button type="submit" style="padding-right: 85%;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.2rem;padding-left: 1%;background-color: white; border: solid white" >Escuchar: <img src="{{ user_image5 }}" width="30% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" ></button>
17
+
18
+
19
+
20
+
21
+ </form>
22
+
23
+
24
+ <br>
25
+ <br>
26
+
27
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
28
+ <br>
29
+ <br>
30
+
31
+ {% for nid,titulo in result_busqueda.items() %}
32
+
33
+ <a href="http://127.0.0.1:7860/resultado_trauma?link={{nid}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
34
+ <br>
35
+ <br>
36
+ {% endfor %}
37
+
38
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
39
+ <br>
40
+ <br>
41
+
42
+ {% for faq in faqs %}
43
+
44
+
45
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
46
+ <br>
47
+ <br>
48
+
49
+ {% endfor %}
50
+
51
+ <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
52
+ <br>
53
+ <br>
54
+ <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/pdf_casa_trauma?link2={{nid2}}'">
55
+ <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/protocolos_trauma?link2={{nid2}}'" >
56
+ <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/guia_visual_trauma?link2={{nid2}}'" >
57
+ <br>
58
+ <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/videos_trauma?link2={{nid2}}'">
59
+ <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/materiales_trauma?link2={{nid2}}'">
60
+
61
+ </div>
62
+ </body>
63
+ </html>
templates/escuchar_trauma1.html ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: darkcyan;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Traumatología</h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <hr/>
14
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
+ <form action="{{url_for('escuchar_trauma1')}}" method="post">
16
+ <button type="button" style="padding-right: 85%;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.2rem;padding-left: 1%;background-color: white; border: solid white" onclick="location.href='http://127.0.0.1:7860/escuchar_trauma'">Escuchar: <img src="{{ user_image5 }}" width="30% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='http://127.0.0.1:7860/escuchar_trauma'"></button>
17
+
18
+
19
+
20
+
21
+ </form>
22
+
23
+
24
+ <br>
25
+ <br>
26
+
27
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
28
+
29
+ <br>
30
+ <br>
31
+
32
+ <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
33
+ <br>
34
+ <br>
35
+ <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/pdf_casa_trauma?link2={{nid2}}'">
36
+ <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/protocolos_trauma?link2={{nid2}}'" >
37
+ <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/guia_visual_trauma?link2={{nid2}}'" >
38
+ <br>
39
+ <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/videos_trauma?link2={{nid2}}'">
40
+ <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/materiales_trauma?link2={{nid2}}'">
41
+
42
+ </div>
43
+ </body>
44
+ </html>
templates/escuchar_uro.html ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: saddlebrown;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Urología </h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <hr/>
14
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
+ <form action="{{url_for('escuchar_uro')}}" method="post">
16
+ <button type="submit" style="padding-right: 85%;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.2rem;padding-left: 1%;background-color: white; border: solid white" >Escuchar: <img src="{{ user_image5 }}" width="30% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" ></button>
17
+
18
+
19
+
20
+
21
+ </form>
22
+
23
+
24
+ <br>
25
+ <br>
26
+
27
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
28
+ <br>
29
+ <br>
30
+
31
+ {% for nid,titulo in result_busqueda.items() %}
32
+
33
+ <a href="http://127.0.0.1:7860/resultado_uro?link={{nid}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
34
+ <br>
35
+ <br>
36
+ {% endfor %}
37
+
38
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
39
+ <br>
40
+ <br>
41
+
42
+ {% for faq in faqs %}
43
+
44
+
45
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
46
+ <br>
47
+ <br>
48
+
49
+ {% endfor %}
50
+
51
+ <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
52
+ <br>
53
+ <br>
54
+ <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/pdf_casa_uro?link2={{nid2}}'">
55
+ <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/protocolos_uro?link2={{nid2}}'" >
56
+ <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/guia_visual_uro?link2={{nid2}}'" >
57
+ <br>
58
+ <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/videos_uro?link2={{nid2}}'">
59
+ <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/materiales_uro?link2={{nid2}}'">
60
+
61
+ </div>
62
+ </body>
63
+ </html>
templates/escuchar_uro1.html ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: saddlebrown;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Urología </h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <hr/>
14
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
+ <form action="{{url_for('escuchar_uro1')}}" method="post">
16
+ <button type="button" style="padding-right: 85%;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.2rem;padding-left: 1%;background-color: white; border: solid white" onclick="location.href='http://127.0.0.1:7860/escuchar_uro'">Escuchar: <img src="{{ user_image5 }}" width="30% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='http://127.0.0.1:7860/escuchar_trauma'"></button>
17
+
18
+
19
+
20
+
21
+ </form>
22
+
23
+
24
+ <br>
25
+ <br>
26
+
27
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
28
+
29
+ <br>
30
+ <br>
31
+
32
+ <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
33
+ <br>
34
+ <br>
35
+ <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/pdf_casa_uro?link2={{nid2}}'">
36
+ <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/protocolos_uro?link2={{nid2}}'" >
37
+ <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/guia_visual_uro?link2={{nid2}}'" >
38
+ <br>
39
+ <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/videos_uro?link2={{nid2}}'">
40
+ <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/materiales_uro?link2={{nid2}}'">
41
+
42
+
43
+ </div>
44
+ </body>
45
+ </html>
templates/especialidad.html ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+
6
+ <title> Quirohelp </title>
7
+ <style>
8
+
9
+ .quiro {
10
+
11
+ background-color: blueviolet;
12
+ color:white;
13
+ font-size: 3.5rem;
14
+
15
+ font-family: Georgia, 'Times New Roman', Times, serif;
16
+
17
+
18
+
19
+
20
+ }
21
+
22
+
23
+
24
+
25
+ </style>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="login2">
31
+ <h1 class="quiro"><img src="{{ user_image0 }}" alt="holaaa" style="max-width: 5%;" > QuiroHelp </h1>
32
+
33
+ <p style="font-size: 1.1rem">Haz click en tu especialidad:</p>
34
+ <form action="{{url_for('especialidad')}}" method="post">
35
+
36
+
37
+
38
+
39
+ <input class=""type="button" value="Traumatologia" style="width: 78%; background-color:darkcyan;font-size: 1.5rem; " onclick="location.href='http://127.0.0.1:7860/buscador_trauma'">
40
+ <h3></h3><img src="{{ user_image1 }}" alt="" style="max-width: 100%" onclick="location.href='http://127.0.0.1:7860/buscador_trauma'">
41
+ <br>
42
+ <input type="button" value="Urologia" style="width: 78%; background-color:saddlebrown;font-size: 1.5rem;" onclick="location.href='http://127.0.0.1:7860/buscador_uro'">
43
+ <h3></h3><img src="{{ user_image2 }}" alt="" style="max-width: 100%" onclick="location.href='http://127.0.0.1:7860/buscador_uro'">
44
+ <br>
45
+ <input type="button" value="Admisión" style="width: 78%; background-color:dimgray;font-size: 1.5rem;" onclick="location.href='http://127.0.0.1:7860/buscador_admision'">
46
+ <h3></h3><img src="{{ user_image3 }}" alt="" style="max-width: 100%" onclick="location.href='http://127.0.0.1:7860/buscador_admision'">
47
+ </form>
48
+
49
+ </div>
50
+ </body>
51
+ </html>
templates/guia_visual.html ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: goldenrod;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Guias visuales: </h2>
12
+
13
+ <hr/>
14
+
15
+ <form action="{{url_for('guia_visual_trauma')}}" method="post">
16
+
17
+
18
+ {% for titulo,url in guia_visual.items() %}
19
+
20
+ <a href="{{url}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
21
+ <br>
22
+ <br>
23
+ <hr/>
24
+ {% endfor %}
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+ </form>
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+ </div>
45
+ </body>
46
+ </html>
templates/instrumental_trauma.html ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: darkcyan;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/buscador_trauma'"> Traumatología</h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.6rem;">{{title}} :</h2>
14
+ <form action="{{url_for('resultado_trauma')}}" method="post">
15
+ <br>
16
+ <br>
17
+
18
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;" >{{texto}}</b>
19
+ <br>
20
+ <br>
21
+ {% for nid,titulo in cajas.items() %}
22
+
23
+ <a style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;" href="http://127.0.0.1:7860/resultado_trauma?link={{nid}}" >{{titulo}}</a>
24
+
25
+ <br>
26
+ {% endfor %}
27
+
28
+
29
+
30
+
31
+
32
+ </form>
33
+
34
+
35
+ <br>
36
+ <br>
37
+
38
+
39
+ </div>
40
+ </body>
41
+ </html>
templates/instrumental_uro.html ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: coral;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Instrumental: </h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.6rem;">{{title}} :</h2>
14
+ <form action="{{url_for('resultado_uro')}}" method="post">
15
+ <br>
16
+ <br>
17
+
18
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;" >{{texto}}</b>
19
+ <br>
20
+ <br>
21
+ {% for nid,titulo in cajas.items() %}
22
+
23
+ <a style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;" href="http://127.0.0.1:7860/resultado_uro?link={{nid}}" >{{titulo}}</a>
24
+
25
+ <br>
26
+ {% endfor %}
27
+
28
+
29
+
30
+
31
+
32
+ </form>
33
+
34
+
35
+ <br>
36
+ <br>
37
+
38
+
39
+ </div>
40
+ </body>
41
+ </html>
templates/intervencion_trauma.html ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: coral;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Intervención: </h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <hr/>
14
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 2rem;">{{title}} :</h2>
15
+ <form action="{{url_for('resultado_trauma')}}" method="post">
16
+
17
+ <br>
18
+ <br>
19
+ <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/pdf_casa_trauma?link2={{nid2}}'">
20
+ <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/protocolos_trauma?link2={{nid2}}'" >
21
+ <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/guia_visual_trauma?link2={{nid2}}'" >
22
+ <br>
23
+ <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/videos_trauma?link2={{nid2}}'">
24
+ <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/materiales_trauma?link2={{nid2}}'">
25
+
26
+ </form>
27
+
28
+ </div>
29
+ </body>
30
+ </html>
templates/intervencion_uro.html ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: coral;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Intervención: </h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <hr/>
14
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 2rem;">{{title}} :</h2>
15
+ <form action="{{url_for('resultado_uro')}}" method="post">
16
+
17
+ <br>
18
+ <br>
19
+ <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/pdf_casa_uro?link2={{nid2}}'">
20
+ <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/protocolos_uro?link2={{nid2}}'" >
21
+ <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/guia_visual_uro?link2={{nid2}}'" >
22
+ <br>
23
+ <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/videos_uro?link2={{nid2}}'">
24
+ <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='http://127.0.0.1:7860/materiales_uro?link2={{nid2}}'">
25
+
26
+ </form>
27
+
28
+ </div>
29
+ </body>
30
+ </html>
templates/mapa_camas.html ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: cornflowerblue;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/buscador_admision'"> Mapa de camas: </h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='http://127.0.0.1:7860/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <hr/>
14
+
15
+ <form action="{{url_for('mapa_camas')}}" method="post">
16
+
17
+
18
+
19
+
20
+ {% for titulo,url in text.items() %}
21
+
22
+ <a href="{{url}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
23
+ <br>
24
+ <br>
25
+ {% endfor %}
26
+
27
+ </form>
28
+
29
+
30
+
31
+
32
+ </div>
33
+ </body>
34
+ </html>
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+ </div>
46
+ </body>
47
+ </html>
templates/materiales.html ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: palevioletred;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:7860/especialidad'"> Materiales - Cajas: </h2>
12
+
13
+ <hr/>
14
+
15
+ <form action="{{url_for('materiales_trauma')}}" method="post">
16
+
17
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{no_hay}}</b>
18
+
19
+ {% for titulo,nid in cajas.items() %}
20
+
21
+ <a href="http://127.0.0.1:7860/resultado_trauma?link={{nid}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
22
+ <br>
23
+ <br>
24
+ <hr/>
25
+ {% endfor %}
26
+
27
+
28
+ </form>
29
+
30
+ </div>
31
+ </body>
32
+ </html>