Spaces:
Sleeping
Sleeping
Commit
·
6f5ef35
1
Parent(s):
decee70
Refactor login and logout buttons to be in the
Browse files
app.py
CHANGED
@@ -118,8 +118,9 @@ author_name = "Thomas Wolf"
|
|
118 |
# gr.Interface(get_papers, inputs=inputs, outputs=gr.Markdown()).launch(debug=True)
|
119 |
|
120 |
with gr.Blocks() as demo:
|
121 |
-
gr.
|
122 |
-
|
|
|
123 |
author_name = gr.Textbox(label="Author name", interactive=True)
|
124 |
positive_arxiv_ids = gr.Textbox("1910.01108", label="ArXiv IDs", interactive=True)
|
125 |
btn = gr.Button("Get papers")
|
|
|
118 |
# gr.Interface(get_papers, inputs=inputs, outputs=gr.Markdown()).launch(debug=True)
|
119 |
|
120 |
with gr.Blocks() as demo:
|
121 |
+
with gr.Row():
|
122 |
+
gr.LoginButton()
|
123 |
+
gr.LogoutButton()
|
124 |
author_name = gr.Textbox(label="Author name", interactive=True)
|
125 |
positive_arxiv_ids = gr.Textbox("1910.01108", label="ArXiv IDs", interactive=True)
|
126 |
btn = gr.Button("Get papers")
|