F1-analysis / app.py
tracinginsights's picture
Update app.py
9ee1e02
raw
history blame
365 Bytes
from git import Repo
import os
import streamlit as st
GITHUB_PAT = os.environ['GITHUB']
if not os.path.exists('repo_directory'):
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/F1_analysis.git', 'repo_directory' )
st.components.v1.iframe("https://linktr.ee/tracinginsights", width=None, height=10000, scrolling=True)