Spaces:
Building
Building
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def generate_embeddings(chunks):
|
|
15 |
# Define the Gradio interface
|
16 |
interface = gr.Interface(
|
17 |
fn=generate_embeddings,
|
18 |
-
inputs=gr.Textbox(lines=5, placeholder="Enter text chunks here...", type="
|
19 |
outputs=[gr.JSON(label="Embeddings"), gr.Label(label="Shape")],
|
20 |
title="Sentence Transformer Embeddings",
|
21 |
description="Generate embeddings for input text chunks."
|
|
|
15 |
# Define the Gradio interface
|
16 |
interface = gr.Interface(
|
17 |
fn=generate_embeddings,
|
18 |
+
inputs=gr.Textbox(lines=5, placeholder="Enter text chunks here...", type="text"),
|
19 |
outputs=[gr.JSON(label="Embeddings"), gr.Label(label="Shape")],
|
20 |
title="Sentence Transformer Embeddings",
|
21 |
description="Generate embeddings for input text chunks."
|