Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def text_to_embedding(text):
|
|
17 |
return json.dumps(embedding, cls=NumpyEncoder)
|
18 |
|
19 |
inputs = gr.inputs.Textbox(default="Type text here.")
|
20 |
-
outputs = gr.outputs.
|
21 |
|
22 |
app = gr.Interface(fn=text_to_embedding, inputs=inputs, outputs=outputs, title="Text to Embedding")
|
23 |
app.launch()
|
|
|
17 |
return json.dumps(embedding, cls=NumpyEncoder)
|
18 |
|
19 |
inputs = gr.inputs.Textbox(default="Type text here.")
|
20 |
+
outputs = gr.outputs.Textbox()
|
21 |
|
22 |
app = gr.Interface(fn=text_to_embedding, inputs=inputs, outputs=outputs, title="Text to Embedding")
|
23 |
app.launch()
|