shamik
commited on
fix: updated the description in the app and commented out the if main block.
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ nest_asyncio.apply()
|
|
| 13 |
logger = get_logger(log_name="multiagent", log_dir=PROJECT_ROOT_DIR / "logs")
|
| 14 |
|
| 15 |
PRIMARY_HEADING = """# ML Topics Deep Research"""
|
| 16 |
-
SECONDARY_HEADING = """### This multi agent framework
|
| 17 |
|
| 18 |
For more details on the filtered arxiv ds refer [here](https://huggingface.co/datasets/Shamik/arxiv_cs_2020_07_2025)
|
| 19 |
"""
|
|
@@ -67,10 +67,11 @@ with gr.Blocks(fill_height=True) as demo:
|
|
| 67 |
clear = gr.ClearButton(components=[msg, chatbot])
|
| 68 |
msg.submit(fn=run, inputs=[msg, api_key, chatbot], outputs=[msg, chatbot])
|
| 69 |
|
| 70 |
-
|
| 71 |
-
if __name__ == "__main__":
|
| 72 |
demo.queue(max_size=1).launch(share=False)
|
| 73 |
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
# example queries
|
| 76 |
# tell me about reinforcement learning in robotics
|
|
|
|
| 13 |
logger = get_logger(log_name="multiagent", log_dir=PROJECT_ROOT_DIR / "logs")
|
| 14 |
|
| 15 |
PRIMARY_HEADING = """# ML Topics Deep Research"""
|
| 16 |
+
SECONDARY_HEADING = """### This multi agent framework queries a DB containing arxiv ML research papers from Jan 2020 - Jun 6th 2025 for select categories, and finds events/conferences related to the user's query.
|
| 17 |
|
| 18 |
For more details on the filtered arxiv ds refer [here](https://huggingface.co/datasets/Shamik/arxiv_cs_2020_07_2025)
|
| 19 |
"""
|
|
|
|
| 67 |
clear = gr.ClearButton(components=[msg, chatbot])
|
| 68 |
msg.submit(fn=run, inputs=[msg, api_key, chatbot], outputs=[msg, chatbot])
|
| 69 |
|
|
|
|
|
|
|
| 70 |
demo.queue(max_size=1).launch(share=False)
|
| 71 |
|
| 72 |
+
# if __name__ == "__main__":
|
| 73 |
+
# demo.queue(max_size=1).launch(share=False)
|
| 74 |
+
|
| 75 |
|
| 76 |
# example queries
|
| 77 |
# tell me about reinforcement learning in robotics
|