Spaces:
Sleeping
Sleeping
anmolsahai
commited on
Commit
•
e87885c
1
Parent(s):
e462109
push
Browse files
app.py
CHANGED
@@ -5,6 +5,10 @@ from langchain_core.prompts import PromptTemplate
|
|
5 |
from google.cloud import aiplatform
|
6 |
import streamlit as st
|
7 |
import json
|
|
|
|
|
|
|
|
|
8 |
|
9 |
# Function to pad base64 strings
|
10 |
def pad_base64(base64_string):
|
|
|
5 |
from google.cloud import aiplatform
|
6 |
import streamlit as st
|
7 |
import json
|
8 |
+
import vertexai
|
9 |
+
from vertexai.generative_models import GenerativeModel, Part, FinishReason
|
10 |
+
import vertexai.preview.generative_models as generative_models
|
11 |
+
|
12 |
|
13 |
# Function to pad base64 strings
|
14 |
def pad_base64(base64_string):
|