use sugya organization
Browse files
app.py
CHANGED
@@ -2,7 +2,8 @@ from datasets import load_dataset
|
|
2 |
from llama_index.core import VectorStoreIndex, Document
|
3 |
import gradio as gr
|
4 |
|
5 |
-
dataset=load_dataset("davidr70/megillah_english_sugyot", split="train")
|
|
|
6 |
documents = [Document(text=item['content'], metadata=item['metadata']) for item in dataset]
|
7 |
|
8 |
|
|
|
2 |
from llama_index.core import VectorStoreIndex, Document
|
3 |
import gradio as gr
|
4 |
|
5 |
+
# dataset=load_dataset("davidr70/megillah_english_sugyot", split="train")
|
6 |
+
dataset=load_dataset("davidr70/megilla_sugyot_merged", split="train")
|
7 |
documents = [Document(text=item['content'], metadata=item['metadata']) for item in dataset]
|
8 |
|
9 |
|