Spaces:
Running
Running
oceansweep
commited on
Commit
•
8f98088
1
Parent(s):
80621be
Update App_Function_Libraries/Gradio_UI/Embeddings_tab.py
Browse files
App_Function_Libraries/Gradio_UI/Embeddings_tab.py
CHANGED
@@ -94,7 +94,7 @@ def create_embeddings_tab():
|
|
94 |
|
95 |
embedding_api_url = gr.Textbox(
|
96 |
label="API URL (for local provider)",
|
97 |
-
value=
|
98 |
visible=False
|
99 |
)
|
100 |
|
@@ -106,12 +106,12 @@ def create_embeddings_tab():
|
|
106 |
)
|
107 |
max_chunk_size = gr.Slider(
|
108 |
minimum=1, maximum=8000, step=1,
|
109 |
-
value=
|
110 |
label="Max Chunk Size"
|
111 |
)
|
112 |
chunk_overlap = gr.Slider(
|
113 |
minimum=0, maximum=4000, step=1,
|
114 |
-
value=
|
115 |
label="Chunk Overlap"
|
116 |
)
|
117 |
adaptive_chunking = gr.Checkbox(
|
@@ -357,7 +357,7 @@ def create_view_embeddings_tab():
|
|
357 |
|
358 |
embedding_api_url = gr.Textbox(
|
359 |
label="API URL (for local provider)",
|
360 |
-
value=
|
361 |
visible=False
|
362 |
)
|
363 |
|
|
|
94 |
|
95 |
embedding_api_url = gr.Textbox(
|
96 |
label="API URL (for local provider)",
|
97 |
+
value="127.0.0.1:8080",
|
98 |
visible=False
|
99 |
)
|
100 |
|
|
|
106 |
)
|
107 |
max_chunk_size = gr.Slider(
|
108 |
minimum=1, maximum=8000, step=1,
|
109 |
+
value=500,
|
110 |
label="Max Chunk Size"
|
111 |
)
|
112 |
chunk_overlap = gr.Slider(
|
113 |
minimum=0, maximum=4000, step=1,
|
114 |
+
value=200,
|
115 |
label="Chunk Overlap"
|
116 |
)
|
117 |
adaptive_chunking = gr.Checkbox(
|
|
|
357 |
|
358 |
embedding_api_url = gr.Textbox(
|
359 |
label="API URL (for local provider)",
|
360 |
+
value="http://127.0.0.1:8080",
|
361 |
visible=False
|
362 |
)
|
363 |
|