Spaces:
Sleeping
Sleeping
jovian commited on
Commit ·
8a24945
1
Parent(s): ec3473e
login
Browse files
app.py
CHANGED
|
@@ -360,7 +360,7 @@ def login_auth(username, password):
|
|
| 360 |
|
| 361 |
|
| 362 |
# Gradio interface components
|
| 363 |
-
with gr.Blocks(
|
| 364 |
|
| 365 |
# State variable to track login status
|
| 366 |
login_successful = gr.State(value=False)
|
|
@@ -484,7 +484,6 @@ with gr.Blocks(css = css,js=js_func) as demo:
|
|
| 484 |
|
| 485 |
|
| 486 |
# Launch the Gradio interface
|
| 487 |
-
demo.queue()
|
| 488 |
demo.launch(share=True,show_api=False)
|
| 489 |
|
| 490 |
|
|
|
|
| 360 |
|
| 361 |
|
| 362 |
# Gradio interface components
|
| 363 |
+
with gr.Blocks() as demo:
|
| 364 |
|
| 365 |
# State variable to track login status
|
| 366 |
login_successful = gr.State(value=False)
|
|
|
|
| 484 |
|
| 485 |
|
| 486 |
# Launch the Gradio interface
|
|
|
|
| 487 |
demo.launch(share=True,show_api=False)
|
| 488 |
|
| 489 |
|