Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
manufy committed May 17, 2024
1 parent 6bbbf41 commit 14727c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 3-experiments/1-photo-story-teller/photostoryteller.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os

HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
st.write(f"El token es: {HUGGINGFACEHUB_API_TOKEN}")


print("----- setting up log level to error and ignoring user warnings -----")
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
Expand Down Expand Up @@ -109,7 +109,7 @@ 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(HUGGINGFACEHUB_API_TOKEN)
st.write(f"El token es: {HUGGINGFACEHUB_API_TOKEN}")
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 14727c3

Please sign in to comment.