Spaces:
Sleeping
Sleeping
update code without login button
Browse files
app.py
CHANGED
@@ -478,17 +478,7 @@ with gr.Blocks(
|
|
478 |
js=get_listener(),
|
479 |
theme=theme,
|
480 |
) as demo:
|
481 |
-
gr.
|
482 |
-
|
483 |
-
with gr.Column() as bloc_1:
|
484 |
-
textbox_1 = gr.Textbox("You are not logged to Hugging Face !", show_label=False)
|
485 |
-
|
486 |
-
with gr.Column(visible=False) as bloc_3:
|
487 |
-
textbox_3 = gr.Textbox(
|
488 |
-
"You are not part of the Spinoza Project, ask access here : https://huggingface.co/organizations/TestSpinoza/share/kmwhyFXasNnGfkBrKzNAPgnlRrxyVOSSMx"
|
489 |
-
)
|
490 |
-
|
491 |
-
with gr.Column(visible=False) as bloc_2:
|
492 |
gr.HTML(
|
493 |
f"""<div class="row_logo">
|
494 |
<img src={logo_rsf} alt="logo RSF" style="float:left; width:120px; height:70px">
|
@@ -586,7 +576,6 @@ with gr.Blocks(
|
|
586 |
[synthesis],
|
587 |
)
|
588 |
)
|
589 |
-
demo.load(update_visible, inputs=None, outputs=[bloc_1, bloc_2, bloc_3])
|
590 |
|
591 |
if __name__ == "__main__":
|
592 |
demo.queue().launch(share=True, debug=True)
|
|
|
478 |
js=get_listener(),
|
479 |
theme=theme,
|
480 |
) as demo:
|
481 |
+
with gr.Column(visible=True):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
482 |
gr.HTML(
|
483 |
f"""<div class="row_logo">
|
484 |
<img src={logo_rsf} alt="logo RSF" style="float:left; width:120px; height:70px">
|
|
|
576 |
[synthesis],
|
577 |
)
|
578 |
)
|
|
|
579 |
|
580 |
if __name__ == "__main__":
|
581 |
demo.queue().launch(share=True, debug=True)
|