fix
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ async def openai_embeddings(request: Request):
|
|
44 |
}
|
45 |
|
46 |
def fn(text):
|
47 |
-
embed(text);
|
48 |
|
49 |
with gr.Blocks(fill_height=True) as demo:
|
50 |
text = gr.Textbox();
|
|
|
44 |
}
|
45 |
|
46 |
def fn(text):
|
47 |
+
return embed(text);
|
48 |
|
49 |
with gr.Blocks(fill_height=True) as demo:
|
50 |
text = gr.Textbox();
|