Spaces:
Running
Running
Update google_function.py
Browse files- google_function.py +8 -4
google_function.py
CHANGED
@@ -244,10 +244,14 @@ def connetti_google():
|
|
244 |
st.write(nav_script, unsafe_allow_html=True)
|
245 |
else:
|
246 |
print('------------4------------------')
|
247 |
-
st.
|
248 |
-
|
249 |
-
|
250 |
-
|
|
|
|
|
|
|
|
|
251 |
|
252 |
def connetti_google_2():
|
253 |
load_dotenv()
|
|
|
244 |
st.write(nav_script, unsafe_allow_html=True)
|
245 |
else:
|
246 |
print('------------4------------------')
|
247 |
+
col1, col2, col3 = st.columns([1, 3, 1])
|
248 |
+
with col2:
|
249 |
+
authorization_url, state = flow.authorization_url(include_granted_scopes="true",)
|
250 |
+
st.write('# Bonsi A.I.')
|
251 |
+
st.markdown(f'<h3><a href="{authorization_url}" target="_self">Login Google</a></h3>', unsafe_allow_html=True)
|
252 |
+
st.write("")
|
253 |
+
st.write("")
|
254 |
+
|
255 |
|
256 |
def connetti_google_2():
|
257 |
load_dotenv()
|