File size: 23,676 Bytes
f51c1fd
 
 
 
 
 
 
 
 
 
 
c0f084a
1bf4da3
c0f084a
f51c1fd
 
d0f716d
c0f084a
f51c1fd
 
 
 
 
 
d0f716d
0e30f40
aa2aec1
78f883e
f51c1fd
 
 
 
 
 
c0f084a
 
f51c1fd
 
 
 
 
 
42c4f80
24ee878
 
 
 
 
 
42c4f80
f51c1fd
 
 
 
24ee878
42c4f80
f51c1fd
 
 
24ee878
 
 
 
 
 
f51c1fd
 
 
 
 
 
42c4f80
 
 
 
 
 
 
 
 
 
 
c0f084a
 
d0f716d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
aa2aec1
 
 
 
 
 
1bf4da3
1a72a47
1bf4da3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0e30f40
b29eeee
aa2aec1
 
 
 
c0f084a
aa2aec1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0e30f40
 
 
 
 
 
c0f084a
0e30f40
 
 
 
 
 
 
 
 
 
 
 
 
c0f084a
0e30f40
 
 
 
 
 
 
 
 
 
 
 
 
c0f084a
0e30f40
 
 
 
 
 
 
 
 
 
 
 
 
c0f084a
0e30f40
 
 
 
 
 
 
 
 
 
 
 
 
c0f084a
0e30f40
 
 
 
 
 
 
 
 
 
 
 
 
c0f084a
 
 
 
 
 
 
 
 
 
 
 
 
 
1bf4da3
c0f084a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1bf4da3
c0f084a
 
 
 
 
0e30f40
 
 
 
 
 
 
c0f084a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d0f716d
 
 
 
24ee878
aa2aec1
d0f716d
 
 
aa2aec1
 
 
 
 
 
 
 
1bf4da3
 
 
 
 
 
 
 
 
 
 
 
 
 
aa2aec1
 
 
 
 
 
 
 
 
 
 
78f883e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b0f25b3
d0f716d
 
 
 
 
 
 
 
 
 
 
 
 
42c4f80
 
 
 
 
 
 
 
 
c0f084a
d0f716d
 
aa2aec1
1bf4da3
 
aa2aec1
 
0e30f40
 
 
 
 
 
c0f084a
 
 
 
 
 
 
 
 
d0f716d
 
 
aa2aec1
 
b0f25b3
 
1bf4da3
 
 
78f883e
aa2aec1
78f883e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d0f716d
42c4f80
f51c1fd
 
c0f084a
 
 
 
f51c1fd
c0f084a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
"""
File: tabs.py
Author: Elena Ryumina and Dmitry Ryumin
Description: Gradio app tabs - Contains the definition of various tabs for the Gradio app interface.
License: MIT License
"""

import gradio as gr

# Importing necessary components for the Gradio app
from app.description import DESCRIPTION
from app.description_steps import STEP_1, STEP_2
from app.mbti_description import MBTI_DESCRIPTION, MBTI_DATA
from app.app import APP
from app.authors import AUTHORS
from app.config import config_data
from app.practical_tasks import supported_practical_tasks
from app.utils import read_csv_file, extract_profession_weights
from app.components import (
    html_message,
    files_create_ui,
    video_create_ui,
    button,
    dataframe,
    radio_create_ui,
    number_create_ui,
    dropdown_create_ui,
    textbox_create_ui,
)


def app_tab():
    gr.Markdown(value=DESCRIPTION)

    gr.HTML(value=STEP_1)

    with gr.Row():
        files = files_create_ui()

        video = video_create_ui()

    with gr.Row():
        examples = button(
            config_data.OtherMessages_EXAMPLES_APP,
            True,
            1,
            "./images/examples.ico",
            True,
            "examples_oceanai",
        )
        calculate_pt_scores = button(
            config_data.OtherMessages_CALCULATE_PT_SCORES,
            False,
            3,
            "./images/calculate_pt_scores.ico",
            True,
            "calculate_oceanai",
        )
        clear_app = button(
            config_data.OtherMessages_CLEAR_APP,
            False,
            1,
            "./images/clear.ico",
            True,
            "clear_oceanai",
        )

    notifications = html_message(config_data.InformationMessages_NOTI_VIDEOS, False)

    pt_scores = dataframe(visible=False)

    csv_pt_scores = files_create_ui(
        None,
        "single",
        [".csv"],
        config_data.OtherMessages_EXPORT_PT_SCORES,
        True,
        False,
        False,
        "csv-container",
    )

    step_2 = gr.HTML(value=STEP_2, visible=False)

    first_practical_task = next(iter(supported_practical_tasks))

    with gr.Column(scale=1, visible=False, render=True) as practical_tasks_column:
        practical_tasks = radio_create_ui(
            first_practical_task,
            config_data.Labels_PRACTICAL_TASKS_LABEL,
            list(map(str, supported_practical_tasks.keys())),
            config_data.InformationMessages_PRACTICAL_TASKS_INFO,
            True,
            True,
        )

        practical_subtasks = radio_create_ui(
            supported_practical_tasks[first_practical_task][0],
            config_data.Labels_PRACTICAL_SUBTASKS_LABEL,
            supported_practical_tasks[first_practical_task],
            config_data.InformationMessages_PRACTICAL_SUBTASKS_INFO,
            True,
            True,
        )

        with gr.Row(
            visible=False,
            render=True,
            variant="default",
            elem_classes="settings-container",
        ) as settings_practical_tasks:
            dropdown_mbti = dropdown_create_ui(
                label=f"Potential candidates by Personality Type of MBTI ({len(config_data.Settings_DROPDOWN_MBTI)})",
                info=config_data.InformationMessages_DROPDOWN_MBTI_INFO,
                choices=config_data.Settings_DROPDOWN_MBTI,
                value=config_data.Settings_DROPDOWN_MBTI[0],
                visible=False,
                elem_classes="dropdown-container",
            )

            threshold_mbti = number_create_ui(
                value=0.5,
                minimum=0.0,
                maximum=1.0,
                step=0.01,
                label=config_data.Labels_THRESHOLD_MBTI_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(0, 1.0),
                show_label=True,
                interactive=True,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            threshold_professional_skills = number_create_ui(
                value=0.45,
                minimum=0.0,
                maximum=1.0,
                step=0.01,
                label=config_data.Labels_THRESHOLD_PROFESSIONAL_SKILLS_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(0, 1.0),
                show_label=True,
                interactive=True,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            dropdown_professional_skills = dropdown_create_ui(
                label=f"Professional skills ({len(config_data.Settings_DROPDOWN_PROFESSIONAL_SKILLS)})",
                info=config_data.InformationMessages_DROPDOWN_PROFESSIONAL_SKILLS_INFO,
                choices=config_data.Settings_DROPDOWN_PROFESSIONAL_SKILLS,
                value=config_data.Settings_DROPDOWN_PROFESSIONAL_SKILLS[0],
                visible=False,
                elem_classes="dropdown-container",
            )

            target_score_ope = number_create_ui(
                value=config_data.Values_TARGET_SCORES[0],
                minimum=0.0,
                maximum=1.0,
                step=0.000001,
                label=config_data.Labels_TARGET_SCORE_OPE_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(0, 1.0),
                show_label=True,
                interactive=True,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            target_score_con = number_create_ui(
                value=config_data.Values_TARGET_SCORES[1],
                minimum=0.0,
                maximum=1.0,
                step=0.000001,
                label=config_data.Labels_TARGET_SCORE_CON_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(0, 1.0),
                show_label=True,
                interactive=True,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            target_score_ext = number_create_ui(
                value=config_data.Values_TARGET_SCORES[2],
                minimum=0.0,
                maximum=1.0,
                step=0.000001,
                label=config_data.Labels_TARGET_SCORE_EXT_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(0, 1.0),
                show_label=True,
                interactive=True,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            target_score_agr = number_create_ui(
                value=config_data.Values_TARGET_SCORES[3],
                minimum=0.0,
                maximum=1.0,
                step=0.000001,
                label=config_data.Labels_TARGET_SCORE_AGR_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(0, 1.0),
                show_label=True,
                interactive=True,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            target_score_nneu = number_create_ui(
                value=config_data.Values_TARGET_SCORES[4],
                minimum=0.0,
                maximum=1.0,
                step=0.000001,
                label=config_data.Labels_TARGET_SCORE_NNEU_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(0, 1.0),
                show_label=True,
                interactive=True,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            equal_coefficient = number_create_ui(
                value=0.5,
                minimum=0.0,
                maximum=1.0,
                step=0.01,
                label=config_data.Labels_EQUAL_COEFFICIENT_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(0, 1.0),
                show_label=True,
                interactive=True,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            df_correlation_coefficients = read_csv_file(
                config_data.Links_CAR_CHARACTERISTICS,
                ["Trait", "Style and performance", "Safety and practicality"],
            )

            number_priority = number_create_ui(
                value=1,
                minimum=1,
                maximum=df_correlation_coefficients.columns.size,
                step=1,
                label=config_data.Labels_NUMBER_PRIORITY_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(
                    1, df_correlation_coefficients.columns.size
                ),
                show_label=True,
                interactive=True,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            number_importance_traits = number_create_ui(
                value=1,
                minimum=1,
                maximum=5,
                step=1,
                label=config_data.Labels_NUMBER_IMPORTANCE_TRAITS_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(1, 5),
                show_label=True,
                interactive=True,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            threshold_consumer_preferences = number_create_ui(
                value=0.55,
                minimum=0.0,
                maximum=1.0,
                step=0.01,
                label=config_data.Labels_THRESHOLD_CONSUMER_PREFERENCES_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(0, 1.0),
                show_label=True,
                interactive=True,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            dropdown_candidates = dropdown_create_ui(
                label=f"Potential candidates by professional responsibilities ({len(config_data.Settings_DROPDOWN_CANDIDATES)})",
                info=config_data.InformationMessages_DROPDOWN_CANDIDATES_INFO,
                choices=config_data.Settings_DROPDOWN_CANDIDATES,
                value=config_data.Settings_DROPDOWN_CANDIDATES[0],
                visible=False,
                elem_classes="dropdown-container",
            )

            df_traits_priority_for_professions = read_csv_file(
                config_data.Links_PROFESSIONS
            )
            weights_professions, interactive_professions = extract_profession_weights(
                df_traits_priority_for_professions,
                config_data.Settings_DROPDOWN_CANDIDATES[0],
            )

            number_openness = number_create_ui(
                value=weights_professions[0],
                minimum=config_data.Values_0_100[0],
                maximum=config_data.Values_0_100[1],
                step=1,
                label=config_data.Labels_NUMBER_IMPORTANCE_OPE_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(
                    config_data.Values_0_100[0], config_data.Values_0_100[1]
                ),
                show_label=True,
                interactive=interactive_professions,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            number_conscientiousness = number_create_ui(
                value=weights_professions[1],
                minimum=config_data.Values_0_100[0],
                maximum=config_data.Values_0_100[1],
                step=1,
                label=config_data.Labels_NUMBER_IMPORTANCE_CON_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(
                    config_data.Values_0_100[0], config_data.Values_0_100[1]
                ),
                show_label=True,
                interactive=interactive_professions,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            number_extraversion = number_create_ui(
                value=weights_professions[2],
                minimum=config_data.Values_0_100[0],
                maximum=config_data.Values_0_100[1],
                step=1,
                label=config_data.Labels_NUMBER_IMPORTANCE_EXT_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(
                    config_data.Values_0_100[0], config_data.Values_0_100[1]
                ),
                show_label=True,
                interactive=interactive_professions,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            number_agreeableness = number_create_ui(
                value=weights_professions[3],
                minimum=config_data.Values_0_100[0],
                maximum=config_data.Values_0_100[1],
                step=1,
                label=config_data.Labels_NUMBER_IMPORTANCE_AGR_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(
                    config_data.Values_0_100[0], config_data.Values_0_100[1]
                ),
                show_label=True,
                interactive=interactive_professions,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

            number_non_neuroticism = number_create_ui(
                value=weights_professions[4],
                minimum=config_data.Values_0_100[0],
                maximum=config_data.Values_0_100[1],
                step=1,
                label=config_data.Labels_NUMBER_IMPORTANCE_NNEU_LABEL,
                info=config_data.InformationMessages_VALUE_FROM_TO_INFO.format(
                    config_data.Values_0_100[0], config_data.Values_0_100[1]
                ),
                show_label=True,
                interactive=interactive_professions,
                visible=False,
                render=True,
                elem_classes="number-container",
            )

        calculate_practical_task = button(
            config_data.OtherMessages_CALCULATE_PRACTICAL_TASK,
            True,
            1,
            "./images/pt.ico",
            False,
            "calculate_practical_task",
        )

        with gr.Row(
            visible=False,
            render=True,
            variant="default",
        ) as sorted_videos:
            with gr.Column(scale=1, visible=False, render=True) as sorted_videos_column:
                practical_task_sorted = dataframe(visible=False)

                with gr.Accordion(
                    label=config_data.Labels_NOTE_MBTI_LABEL,
                    open=False,
                    visible=False,
                ) as mbti_accordion:
                    mbti_description = gr.HTML(value=MBTI_DESCRIPTION, visible=False)

                    mbti_description_data = dataframe(
                        headers=MBTI_DATA.columns.tolist(),
                        values=MBTI_DATA.values.tolist(),
                        visible=False,
                        elem_classes="mbti-dataframe",
                    )

                csv_practical_task_sorted = files_create_ui(
                    None,
                    "single",
                    [".csv"],
                    config_data.OtherMessages_EXPORT_PS,
                    True,
                    False,
                    False,
                    "csv-container",
                )

            with gr.Column(
                scale=1,
                visible=False,
                render=True,
                elem_classes="video-column-container",
            ) as video_sorted_column:
                video_sorted = video_create_ui(
                    visible=False, elem_classes="video-sorted-container"
                )

                with gr.Column(scale=1, visible=False, render=True) as metadata:
                    with gr.Row(
                        visible=False, render=True, variant="default"
                    ) as metadata_1:
                        with gr.Row(
                            visible=False,
                            render=True,
                            variant="default",
                            elem_classes="name-container",
                        ) as name_row:
                            name_logo = gr.Image(
                                value="images/name.svg",
                                container=False,
                                interactive=False,
                                show_label=False,
                                visible=False,
                                show_download_button=False,
                                elem_classes="metadata_name-logo",
                            )

                            name = textbox_create_ui(
                                "First name",
                                "text",
                                "First name",
                                None,
                                None,
                                1,
                                True,
                                False,
                                False,
                                False,
                                1,
                                False,
                            )

                        with gr.Row(
                            visible=False,
                            render=True,
                            variant="default",
                            elem_classes="surname-container",
                        ) as surname_row:
                            surname_logo = gr.Image(
                                value="images/name.svg",
                                container=False,
                                interactive=False,
                                show_label=False,
                                visible=False,
                                show_download_button=False,
                                elem_classes="metadata_surname-logo",
                            )

                            surname = textbox_create_ui(
                                "Last name",
                                "text",
                                "Last name",
                                None,
                                None,
                                1,
                                True,
                                False,
                                False,
                                False,
                                1,
                                False,
                            )
                    with gr.Row(
                        visible=False, render=True, variant="default"
                    ) as metadata_2:
                        with gr.Row(
                            visible=False,
                            render=True,
                            variant="default",
                            elem_classes="email-container",
                        ) as email_row:
                            email_logo = gr.Image(
                                value="images/email.svg",
                                container=False,
                                interactive=False,
                                show_label=False,
                                visible=False,
                                show_download_button=False,
                                elem_classes="metadata_email-logo",
                            )

                            email = textbox_create_ui(
                                "[email protected]",
                                "email",
                                "Email",
                                None,
                                None,
                                1,
                                True,
                                False,
                                False,
                                False,
                                1,
                                False,
                            )

                        with gr.Row(
                            visible=False,
                            render=True,
                            variant="default",
                            elem_classes="phone-container",
                        ) as phone_row:
                            phone_logo = gr.Image(
                                value="images/phone.svg",
                                container=False,
                                interactive=False,
                                show_label=False,
                                visible=False,
                                show_download_button=False,
                                elem_classes="metadata_phone-logo",
                            )

                            phone = textbox_create_ui(
                                "+1 (555) 123-4567",
                                "text",
                                "Phone number",
                                None,
                                None,
                                1,
                                True,
                                False,
                                False,
                                False,
                                1,
                                False,
                            )

    practical_subtasks_selected = gr.JSON(
        value={
            str(task): supported_practical_tasks.get(task, [None])[0]
            for task in supported_practical_tasks.keys()
        },
        visible=False,
        render=True,
    )

    in_development = html_message(
        config_data.InformationMessages_NOTI_IN_DEV, False, False
    )

    return (
        notifications,
        files,
        video,
        examples,
        calculate_pt_scores,
        clear_app,
        pt_scores,
        csv_pt_scores,
        step_2,
        practical_tasks,
        practical_subtasks,
        settings_practical_tasks,
        dropdown_mbti,
        threshold_mbti,
        threshold_professional_skills,
        dropdown_professional_skills,
        target_score_ope,
        target_score_con,
        target_score_ext,
        target_score_agr,
        target_score_nneu,
        equal_coefficient,
        number_priority,
        number_importance_traits,
        threshold_consumer_preferences,
        dropdown_candidates,
        number_openness,
        number_conscientiousness,
        number_extraversion,
        number_agreeableness,
        number_non_neuroticism,
        calculate_practical_task,
        practical_subtasks_selected,
        practical_tasks_column,
        sorted_videos,
        sorted_videos_column,
        practical_task_sorted,
        csv_practical_task_sorted,
        mbti_accordion,
        mbti_description,
        mbti_description_data,
        video_sorted_column,
        video_sorted,
        metadata,
        metadata_1,
        name_row,
        name_logo,
        name,
        surname_row,
        surname_logo,
        surname,
        metadata_2,
        email_row,
        email_logo,
        email,
        phone_row,
        phone_logo,
        phone,
        in_development,
    )


def about_app_tab():
    return gr.HTML(value=APP)


def about_authors_tab():
    return gr.HTML(value=AUTHORS)