|
|
|
@ -1,8 +1,31 @@
|
|
|
|
|
{ |
|
|
|
|
"cells": [ |
|
|
|
|
{ |
|
|
|
|
"cell_type": "markdown", |
|
|
|
|
"id": "ad900e1c-b4a9-4f05-93d5-e364fae208dd", |
|
|
|
|
"metadata": {}, |
|
|
|
|
"source": [ |
|
|
|
|
"# Multimodal Expert Tutor\n", |
|
|
|
|
"\n", |
|
|
|
|
"An AI assistant which leverages expertise from other sources for you.\n", |
|
|
|
|
"\n", |
|
|
|
|
"Features:\n", |
|
|
|
|
"- Multimodal\n", |
|
|
|
|
"- Uses tools\n", |
|
|
|
|
"- Streams responses\n", |
|
|
|
|
"- Reads out the responses after streaming\n", |
|
|
|
|
"- Coverts voice to text during input\n", |
|
|
|
|
"\n", |
|
|
|
|
"Scope for Improvement\n", |
|
|
|
|
"- Read response faster (as streaming starts)\n", |
|
|
|
|
"- code optimization\n", |
|
|
|
|
"- UI enhancements\n", |
|
|
|
|
"- Make it more real time" |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"cell_type": "code", |
|
|
|
|
"execution_count": null, |
|
|
|
|
"execution_count": 1, |
|
|
|
|
"id": "c1070317-3ed9-4659-abe3-828943230e03", |
|
|
|
|
"metadata": {}, |
|
|
|
|
"outputs": [], |
|
|
|
@ -375,42 +398,12 @@
|
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"cell_type": "code", |
|
|
|
|
"execution_count": 31, |
|
|
|
|
"execution_count": null, |
|
|
|
|
"id": "4ded9b3f-83e1-4971-9714-4894f2982b5a", |
|
|
|
|
"metadata": { |
|
|
|
|
"scrolled": true |
|
|
|
|
}, |
|
|
|
|
"outputs": [ |
|
|
|
|
{ |
|
|
|
|
"name": "stdout", |
|
|
|
|
"output_type": "stream", |
|
|
|
|
"text": [ |
|
|
|
|
"* Running on local URL: http://127.0.0.1:7866\n", |
|
|
|
|
"\n", |
|
|
|
|
"To create a public link, set `share=True` in `launch()`.\n" |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"data": { |
|
|
|
|
"text/html": [ |
|
|
|
|
"<div><iframe src=\"http://127.0.0.1:7866/\" width=\"100%\" height=\"500\" allow=\"autoplay; camera; microphone; clipboard-read; clipboard-write;\" frameborder=\"0\" allowfullscreen></iframe></div>" |
|
|
|
|
], |
|
|
|
|
"text/plain": [ |
|
|
|
|
"<IPython.core.display.HTML object>" |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
"metadata": {}, |
|
|
|
|
"output_type": "display_data" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"data": { |
|
|
|
|
"text/plain": [] |
|
|
|
|
}, |
|
|
|
|
"execution_count": 31, |
|
|
|
|
"metadata": {}, |
|
|
|
|
"output_type": "execute_result" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"outputs": [], |
|
|
|
|
"source": [ |
|
|
|
|
"with gr.Blocks() as ui:\n", |
|
|
|
|
" with gr.Row():\n", |
|
|
|
|