Trouble deploying from Streamlit to iOS

Im having trouble deploying from Streamlit to iOS. Does anyone have experience with it? Is the file in the wrong location maybe. Here is the code snippet.

import os
import streamlit as st
import pinecone
import tensorflow_hub as hub
import numpy as np

#API_KEY = st.secrets[‘pinecone_api_key’]

with open(‘./secret’, ‘r’) as f:
API_KEY = f.read().strip()

pinecone_env= ‘us-west1-gcp’ #‘guides-2d52ac8.svc.us-west1-gcp.pinecone.io
index_name = ‘guides’

Hi there,

Thanks for sharing your question with the community! Check out our guidelines on how to post an effective question here.

Specifically, please don’t share screenshots of your code – that prevents us from running it. Instead, we’d love to see a properly formatted, minimal code snippet that will allow us to reproduce the issue you’re seeing.

Caroline :balloon:

Hi Caroline,

Thank you for letting me know. I edited it accordingly. Will they unhide my post?

Julian