Spaces:
Running
Running
Commit ·
fd0eea9
1
Parent(s): 4bacf92
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,6 +21,10 @@ GITHUB_PAT = os.environ['GITHUB']
|
|
| 21 |
if not os.path.exists('repo_directory'):
|
| 22 |
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/F1_analysis.git', 'repo_directory' )
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
from repo_directory.st_functions import st_button, load_css
|
| 25 |
|
| 26 |
import fastf1
|
|
@@ -53,9 +57,9 @@ st_button('', 'https://discord.gg/ZabvWFNQFz', 'Join Discord', icon_size)
|
|
| 53 |
st_button('youtube', 'https://www.youtube.com/@TracingInsights', 'Tracing Insights YouTube channel', icon_size)
|
| 54 |
st_button('cup', 'https://www.buymeacoffee.com/tracinginsights', 'Buy me a Coffee', icon_size)
|
| 55 |
st_button('', 'https://www.facebook.com/TracingInsights', 'Follow me on Facebook', icon_size)
|
| 56 |
-
st_button('', 'https://www.linkedin.com/company/tracinginsights', 'Follow me on LinkedIn', icon_size)
|
| 57 |
st_button('', 'https://www.patreon.com/tracinginsights', 'Patreon for exclusive content', icon_size)
|
| 58 |
-
st_button('', 'https://www.twitch.tv/tracinginsights', 'Follow me on Twitch', icon_size)
|
| 59 |
|
| 60 |
|
| 61 |
# st_button('', 'https://clubhouse.com/@tracinginsights', 'Follow me on ClubHouse', icon_size)
|
|
|
|
| 21 |
if not os.path.exists('repo_directory'):
|
| 22 |
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/F1_analysis.git', 'repo_directory' )
|
| 23 |
|
| 24 |
+
|
| 25 |
+
from repo_directory.reddit_bot import run_bot
|
| 26 |
+
run_bot()
|
| 27 |
+
|
| 28 |
from repo_directory.st_functions import st_button, load_css
|
| 29 |
|
| 30 |
import fastf1
|
|
|
|
| 57 |
st_button('youtube', 'https://www.youtube.com/@TracingInsights', 'Tracing Insights YouTube channel', icon_size)
|
| 58 |
st_button('cup', 'https://www.buymeacoffee.com/tracinginsights', 'Buy me a Coffee', icon_size)
|
| 59 |
st_button('', 'https://www.facebook.com/TracingInsights', 'Follow me on Facebook', icon_size)
|
| 60 |
+
# st_button('', 'https://www.linkedin.com/company/tracinginsights', 'Follow me on LinkedIn', icon_size)
|
| 61 |
st_button('', 'https://www.patreon.com/tracinginsights', 'Patreon for exclusive content', icon_size)
|
| 62 |
+
# st_button('', 'https://www.twitch.tv/tracinginsights', 'Follow me on Twitch', icon_size)
|
| 63 |
|
| 64 |
|
| 65 |
# st_button('', 'https://clubhouse.com/@tracinginsights', 'Follow me on ClubHouse', icon_size)
|