Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
manufy committed May 17, 2024
1 parent f2c1580 commit 0f95c5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 3-experiments/1-photo-story-teller/photostoryteller.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")

st.write(f"El Htoken es: {HUGGINGFACEHUB_API_TOKEN}")
st.write(f"El Otoken es: {OPENAI_API_KEY}")



print("----- setting up log level to error and ignoring user warnings -----")
Expand Down Expand Up @@ -116,7 +115,8 @@ def text2speech(message):
def main():
st.set_page_config(page_title="Photo Story Teller", page_icon="📸", layout="wide")
st.header("Photo Story Teller")

st.write(f"El Htoken es: {HUGGINGFACEHUB_API_TOKEN}")
st.write(f"El Otoken es: {OPENAI_API_KEY}")
uploaded_file = st.file_uploader("Choose a photo...", type="jpg")
if uploaded_file is not None:
print("uploaded file")
Expand Down

0 comments on commit 0f95c5e

Please sign in to comment.