Spaces:
Sleeping
Sleeping
Commit
·
f184c54
1
Parent(s):
18eb61a
Fix requirements, fixed width for scatterplot
Browse files- app.py +1 -0
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -130,6 +130,7 @@ with gr.Blocks(title="Assistant Juridique pour le Code de l'éducation (Beta)")
|
|
| 130 |
x = "x", y = "y",
|
| 131 |
color="type",
|
| 132 |
label="Visualisation des embeddings",
|
|
|
|
| 133 |
height=500)
|
| 134 |
with gr.Tab(label="Paramètres"):
|
| 135 |
system_box = gr.Textbox(label="Invite systeme", value=system_prompt,
|
|
|
|
| 130 |
x = "x", y = "y",
|
| 131 |
color="type",
|
| 132 |
label="Visualisation des embeddings",
|
| 133 |
+
width=500,
|
| 134 |
height=500)
|
| 135 |
with gr.Tab(label="Paramètres"):
|
| 136 |
system_box = gr.Textbox(label="Invite systeme", value=system_prompt,
|
requirements.txt
CHANGED
|
@@ -4,4 +4,4 @@ faiss-cpu
|
|
| 4 |
langchain_community
|
| 5 |
langchain
|
| 6 |
sentence_transformers
|
| 7 |
-
umap
|
|
|
|
| 4 |
langchain_community
|
| 5 |
langchain
|
| 6 |
sentence_transformers
|
| 7 |
+
umap-learn
|