Spaces:
Build error
Build error
Update backend.app
Browse files- backend.app +11 -1
backend.app
CHANGED
|
@@ -7,5 +7,15 @@ from langchain.prompts import PromptTemplate
|
|
| 7 |
from langchain_google_genai import GoogleGenerativeAI
|
| 8 |
|
| 9 |
from getpass import getpass
|
|
|
|
|
|
|
| 10 |
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
from langchain_google_genai import GoogleGenerativeAI
|
| 8 |
|
| 9 |
from getpass import getpass
|
| 10 |
+
|
| 11 |
+
os.environ["GOOGLE_API_KEY"]="AIzaSyAH5Fa_SVAJwkhBlkkRhnlXsNM_wTiZoTc"
|
| 12 |
|
| 13 |
+
|
| 14 |
+
class InvoicePipeline:
|
| 15 |
+
|
| 16 |
+
def run(self): -> pd.DataFrame:
|
| 17 |
+
df=pd.DayaFrame(
|
| 18 |
+
"Invoice ID": pd.Series(dtype="int"),
|
| 19 |
+
|
| 20 |
+
)
|
| 21 |
+
def __init__(se )
|