Spaces:
Runtime error
Runtime error
sergiomar73
commited on
Commit
•
421c31d
1
Parent(s):
5c7ab86
Update app.py with imports
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
import time
|
|
|
|
|
4 |
|
5 |
def calculate_embeddings_with_gpt3(text, engine="text-similarity-davinci-001", interval = 1.5, verbose=True):
|
6 |
if verbose:
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
import time
|
4 |
+
import openai
|
5 |
+
import numpy as np
|
6 |
|
7 |
def calculate_embeddings_with_gpt3(text, engine="text-similarity-davinci-001", interval = 1.5, verbose=True):
|
8 |
if verbose:
|