From 5404484369ab07d09a51afa33ed7965f7cb5a32d Mon Sep 17 00:00:00 2001 From: Nik Date: Sun, 26 Oct 2025 17:25:03 +0530 Subject: [PATCH] Update legal_qna_generator.ipynb --- .../legal_qna_generator.ipynb | 57 ++++--------------- 1 file changed, 10 insertions(+), 47 deletions(-) diff --git a/week3/community-contributions/legal_qna_generator/legal_qna_generator.ipynb b/week3/community-contributions/legal_qna_generator/legal_qna_generator.ipynb index 1674148..fef6ccc 100644 --- a/week3/community-contributions/legal_qna_generator/legal_qna_generator.ipynb +++ b/week3/community-contributions/legal_qna_generator/legal_qna_generator.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "ffe08bad", "metadata": {}, "outputs": [], @@ -21,7 +21,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "id": "2f24eb03", "metadata": {}, "outputs": [], @@ -52,7 +52,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "9256c3ae", "metadata": {}, "outputs": [], @@ -126,7 +126,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "id": "32be3d52", "metadata": {}, "outputs": [], @@ -201,7 +201,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "id": "fe88708f", "metadata": {}, "outputs": [], @@ -277,18 +277,10 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "0822c49e", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "✅ Synthetic data pipeline initialized!\n" - ] - } - ], + "outputs": [], "source": [ "legal_generator = SyntheticLegalGenerator(client)\n", "qa_generator = SyntheticQAGenerator(client)\n", @@ -299,7 +291,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "id": "9b86f15f", "metadata": {}, "outputs": [], @@ -386,39 +378,10 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "id": "9d352fec", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "* Running on local URL: http://127.0.0.1:7860\n", - "* To create a public link, set `share=True` in `launch()`.\n" - ] - }, - { - "data": { - "text/html": [ - "
" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [] - }, - "execution_count": 8, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "# Cell 9: Enhanced UI with real-time updates\n", "with gr.Blocks(title=\"Synthetic Legal Q&A Generator\", theme=gr.themes.Soft()) as demo:\n",