Spaces:
Running
Running
Update google_function.py
Browse files145 unmodified lines146147148149150151152145 unmodified linescreds = Nonest.write("Welcome to My App!")auth_code = st.query_params.get("code")flow = google_auth_oauthlib.flow.Flow.from_client_secrets_file("./credentials.json", SCOPES, redirect_uri='https://matteoscript-streamlitchat-new.hf.space')if auth_code:flow.fetch_token(code=auth_code)credentials = flow.credentials145 unmodified lines146147148149150151152153145 unmodified linescreds = Nonest.write("Welcome to My App!")auth_code = st.query_params.get("code")flow = InstalledAppFlow.from_client_secrets_file("./credentials.json", SCOPES, redirect_uri='https://matteoscript-streamlitchat-new.hf.space')print(flow)if auth_code:flow.fetch_token(code=auth_code)credentials = flow.credentials
google_function.py+2-1