Spaces:
Sleeping
Sleeping
change username from md to textbox to avoid UI freeze
Browse files
app.py
CHANGED
@@ -6,7 +6,6 @@ from chart_generation import *
|
|
6 |
from charts_advanced import *
|
7 |
from users_management import *
|
8 |
|
9 |
-
users = load_from_json()
|
10 |
|
11 |
# Categories
|
12 |
categories = [
|
@@ -89,7 +88,7 @@ with gr.Blocks() as demo:
|
|
89 |
with gr.Column():
|
90 |
gr.Markdown("## Extaction, Classification and AI tool")
|
91 |
with gr.Column():
|
92 |
-
md_username = gr.
|
93 |
btn_logout = gr.Button("Logout")
|
94 |
with gr.Accordion(label="**Login** to keep user preferences", open=False):
|
95 |
st_user = gr.State()
|
|
|
6 |
from charts_advanced import *
|
7 |
from users_management import *
|
8 |
|
|
|
9 |
|
10 |
# Categories
|
11 |
categories = [
|
|
|
88 |
with gr.Column():
|
89 |
gr.Markdown("## Extaction, Classification and AI tool")
|
90 |
with gr.Column():
|
91 |
+
md_username = gr.Textbox()
|
92 |
btn_logout = gr.Button("Logout")
|
93 |
with gr.Accordion(label="**Login** to keep user preferences", open=False):
|
94 |
st_user = gr.State()
|