Spaces:
Runtime error
Runtime error
Update App_Function_Libraries/Gradio_Related.py
Browse files
App_Function_Libraries/Gradio_Related.py
CHANGED
|
@@ -253,6 +253,8 @@ def launch_ui(share_public=None, server_mode=False):
|
|
| 253 |
db_type = db_config['type']
|
| 254 |
gr.Markdown(f"# tl/dw: Your LLM-powered Research Multi-tool")
|
| 255 |
gr.Markdown(f"(Using {db_type.capitalize()} Database)")
|
|
|
|
|
|
|
| 256 |
with gr.Tabs():
|
| 257 |
with gr.TabItem("Transcription / Summarization / Ingestion"):
|
| 258 |
with gr.Tabs():
|
|
@@ -266,17 +268,19 @@ def launch_ui(share_public=None, server_mode=False):
|
|
| 266 |
create_pdf_ingestion_test_tab()
|
| 267 |
create_resummary_tab()
|
| 268 |
create_summarize_explain_tab()
|
| 269 |
-
create_live_recording_tab()
|
| 270 |
create_arxiv_tab()
|
| 271 |
|
| 272 |
with gr.TabItem("Text Search "):
|
| 273 |
create_search_tab()
|
| 274 |
create_search_summaries_tab()
|
| 275 |
|
|
|
|
| 276 |
with gr.TabItem("RAG Search"):
|
| 277 |
create_rag_tab()
|
| 278 |
create_rag_qa_chat_tab()
|
| 279 |
|
|
|
|
| 280 |
with gr.TabItem("Chat with an LLM"):
|
| 281 |
create_chat_interface()
|
| 282 |
create_chat_interface_stacked()
|
|
@@ -285,22 +289,24 @@ def launch_ui(share_public=None, server_mode=False):
|
|
| 285 |
create_chat_with_llamafile_tab()
|
| 286 |
create_chat_management_tab()
|
| 287 |
chat_workflows_tab()
|
| 288 |
-
create_multiple_character_chat_tab()
|
| 289 |
-
create_narrator_controlled_conversation_tab()
|
| 290 |
|
| 291 |
|
| 292 |
with gr.TabItem("Character Chat"):
|
| 293 |
with gr.Tabs():
|
| 294 |
create_character_card_interaction_tab()
|
| 295 |
create_character_chat_mgmt_tab()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 296 |
|
| 297 |
with gr.TabItem("View DB Items"):
|
| 298 |
-
# This one works
|
| 299 |
create_view_all_with_versions_tab()
|
| 300 |
-
# This one is WIP
|
| 301 |
create_viewing_tab()
|
| 302 |
create_prompt_view_tab()
|
| 303 |
|
|
|
|
| 304 |
with gr.TabItem("Prompts"):
|
| 305 |
create_prompt_view_tab()
|
| 306 |
create_prompt_search_tab()
|
|
@@ -316,6 +322,7 @@ def launch_ui(share_public=None, server_mode=False):
|
|
| 316 |
# FIXME
|
| 317 |
#create_compare_transcripts_tab()
|
| 318 |
|
|
|
|
| 319 |
with gr.TabItem("Embeddings Management"):
|
| 320 |
create_embeddings_tab()
|
| 321 |
create_view_embeddings_tab()
|
|
|
|
| 253 |
db_type = db_config['type']
|
| 254 |
gr.Markdown(f"# tl/dw: Your LLM-powered Research Multi-tool")
|
| 255 |
gr.Markdown(f"(Using {db_type.capitalize()} Database)")
|
| 256 |
+
with gr.Tabs():
|
| 257 |
+
with gr.TabItem("Transcription / Summarization / Ingestion"):
|
| 258 |
with gr.Tabs():
|
| 259 |
with gr.TabItem("Transcription / Summarization / Ingestion"):
|
| 260 |
with gr.Tabs():
|
|
|
|
| 268 |
create_pdf_ingestion_test_tab()
|
| 269 |
create_resummary_tab()
|
| 270 |
create_summarize_explain_tab()
|
| 271 |
+
#create_live_recording_tab()
|
| 272 |
create_arxiv_tab()
|
| 273 |
|
| 274 |
with gr.TabItem("Text Search "):
|
| 275 |
create_search_tab()
|
| 276 |
create_search_summaries_tab()
|
| 277 |
|
| 278 |
+
|
| 279 |
with gr.TabItem("RAG Search"):
|
| 280 |
create_rag_tab()
|
| 281 |
create_rag_qa_chat_tab()
|
| 282 |
|
| 283 |
+
|
| 284 |
with gr.TabItem("Chat with an LLM"):
|
| 285 |
create_chat_interface()
|
| 286 |
create_chat_interface_stacked()
|
|
|
|
| 289 |
create_chat_with_llamafile_tab()
|
| 290 |
create_chat_management_tab()
|
| 291 |
chat_workflows_tab()
|
|
|
|
|
|
|
| 292 |
|
| 293 |
|
| 294 |
with gr.TabItem("Character Chat"):
|
| 295 |
with gr.Tabs():
|
| 296 |
create_character_card_interaction_tab()
|
| 297 |
create_character_chat_mgmt_tab()
|
| 298 |
+
create_custom_character_card_tab()
|
| 299 |
+
create_character_card_validation_tab()
|
| 300 |
+
create_multiple_character_chat_tab()
|
| 301 |
+
create_narrator_controlled_conversation_tab()
|
| 302 |
+
|
| 303 |
|
| 304 |
with gr.TabItem("View DB Items"):
|
|
|
|
| 305 |
create_view_all_with_versions_tab()
|
|
|
|
| 306 |
create_viewing_tab()
|
| 307 |
create_prompt_view_tab()
|
| 308 |
|
| 309 |
+
|
| 310 |
with gr.TabItem("Prompts"):
|
| 311 |
create_prompt_view_tab()
|
| 312 |
create_prompt_search_tab()
|
|
|
|
| 322 |
# FIXME
|
| 323 |
#create_compare_transcripts_tab()
|
| 324 |
|
| 325 |
+
|
| 326 |
with gr.TabItem("Embeddings Management"):
|
| 327 |
create_embeddings_tab()
|
| 328 |
create_view_embeddings_tab()
|