Spaces:
Sleeping
Sleeping
fix tmp by disabling HF login until further exploration
Browse files
app.py
CHANGED
@@ -211,9 +211,9 @@ What do you want to learn ?
|
|
211 |
|
212 |
|
213 |
with gr.Blocks(title=f"{demo_name}", css=css, theme=theme) as demo:
|
214 |
-
with gr.Row():
|
215 |
-
|
216 |
-
|
217 |
|
218 |
with gr.Column() as bloc_1:
|
219 |
textbox_1 = gr.Textbox("You are not logged to Hugging Face !", show_label=False)
|
@@ -259,7 +259,10 @@ with gr.Blocks(title=f"{demo_name}", css=css, theme=theme) as demo:
|
|
259 |
with gr.Column(scale=1):
|
260 |
gr.Markdown("WIP")
|
261 |
|
262 |
-
demo.load(update_visible, inputs=None, outputs=[bloc_1, bloc_2, bloc_3])
|
|
|
|
|
|
|
263 |
ask.submit(
|
264 |
fn=chat,
|
265 |
inputs=[
|
|
|
211 |
|
212 |
|
213 |
with gr.Blocks(title=f"{demo_name}", css=css, theme=theme) as demo:
|
214 |
+
# with gr.Row():
|
215 |
+
# with gr.Column(scale=1):
|
216 |
+
# login = gr.LoginButton()
|
217 |
|
218 |
with gr.Column() as bloc_1:
|
219 |
textbox_1 = gr.Textbox("You are not logged to Hugging Face !", show_label=False)
|
|
|
259 |
with gr.Column(scale=1):
|
260 |
gr.Markdown("WIP")
|
261 |
|
262 |
+
# demo.load(update_visible, inputs=None, outputs=[bloc_1, bloc_2, bloc_3])
|
263 |
+
|
264 |
+
# login.click(update_visible, inputs=[], outputs=[bloc_1, bloc_2, bloc_3])
|
265 |
+
|
266 |
ask.submit(
|
267 |
fn=chat,
|
268 |
inputs=[
|