Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -186,7 +186,8 @@ with gr.Blocks(css="constants/styles.css", theme=gr.themes.Soft()) as demo:
|
|
| 186 |
gr.Markdown("## Request any arXiv ids")
|
| 187 |
arxiv_queue = gr.Dataframe(
|
| 188 |
headers=["Requested arXiv IDs"], col_count=(1, "fixed"),
|
| 189 |
-
value=
|
|
|
|
| 190 |
datatype=["str"],
|
| 191 |
interactive=False,
|
| 192 |
)
|
|
@@ -414,7 +415,7 @@ with gr.Blocks(css="constants/styles.css", theme=gr.themes.Soft()) as demo:
|
|
| 414 |
js=UPDATE_CHAT_HISTORY
|
| 415 |
)
|
| 416 |
|
| 417 |
-
demo.load(lambda: update_dataframe(request_arxiv_repo_id), None, arxiv_queue, every=180)
|
| 418 |
# demo.load(None, None, [chatbot, local_data], js=GET_LOCAL_STORAGE % idx.value)
|
| 419 |
|
| 420 |
start_date = datetime.now() + timedelta(minutes=1)
|
|
|
|
| 186 |
gr.Markdown("## Request any arXiv ids")
|
| 187 |
arxiv_queue = gr.Dataframe(
|
| 188 |
headers=["Requested arXiv IDs"], col_count=(1, "fixed"),
|
| 189 |
+
value=update_dataframe,
|
| 190 |
+
every=180,
|
| 191 |
datatype=["str"],
|
| 192 |
interactive=False,
|
| 193 |
)
|
|
|
|
| 415 |
js=UPDATE_CHAT_HISTORY
|
| 416 |
)
|
| 417 |
|
| 418 |
+
# demo.load(lambda: update_dataframe(request_arxiv_repo_id), None, arxiv_queue, every=180)
|
| 419 |
# demo.load(None, None, [chatbot, local_data], js=GET_LOCAL_STORAGE % idx.value)
|
| 420 |
|
| 421 |
start_date = datetime.now() + timedelta(minutes=1)
|