mikesoylu commited on
Commit
ef4c9c2
·
1 Parent(s): 9a1bb4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Label()
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()