mehmetkeskinoglu commited on
Commit
1e15baa
·
verified ·
1 Parent(s): 6b8b7cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,8 +10,8 @@ def get_embedding(text):
10
  iface = gr.Interface(
11
  fn=get_embedding,
12
  inputs=gr.Textbox(),
13
- outputs="embed",
14
- api_name="predict"
15
  )
16
 
17
  iface.launch()
 
10
  iface = gr.Interface(
11
  fn=get_embedding,
12
  inputs=gr.Textbox(),
13
+ outputs="json",
14
+ api_name="embed"
15
  )
16
 
17
  iface.launch()