View ludwig_t5_config.yaml
input_features: | |
- | |
name: Original_Title | |
type: text | |
level: word | |
encoder: t5 | |
reduce_output: null | |
- | |
name: Keyword | |
type: text |
View hoostsuite_title_predictions.txt
How to Manage Multiple Instagram Accounts from Your Desktop or Phone | |
The 2020 Instagram Hashtag Guide—How to Use Them and Get Results | |
How to Use Instagram Stories to Build Your Audience | |
How to Use Instagram Posts: A Simple Step-By-Step Guide | |
How the TikTok Algorithm Works in 2020 (and How to Work With It) | |
How to Manage Multiple YouTube Channels: Tips and Tools | |
How to Get Followers on Pinterest: 24 Tips that Really Work | |
The 2020 Instagram Hashtag Guide—How to Use Them and Get Results | |
How to Use Pinterest for Business: 8 Strategies You Need to Know | |
How to Use Facebook Custom Audiences: A Step-by-Step Guide |
View hootsuite_titles_to_optimize.csv
Original_Title | Keyword | |
---|---|---|
How to Get Free Instagram Likes (Because They Still Matter) | instagram likes | |
The 2020 facebook Hashtag Guide—How to Use Them and Get Results | instagram hashtags | |
How to Use Instagram Stories to Build Your following | insta stories | |
How the Instagram Algorithm Works in 2020 (And How to Work With It) | instagram algorithm | |
How the same Algorithm Works in 2020 (and How to Work With It) | tiktok algorithm | |
How to Get Free Instagram Likes (Because They Still Matter) | get likes on instagram | |
How to Get Verified on Instagram in 6 Simple Steps | instagram verified | |
The 2020 facebook Hashtag Guide—How to Use Them and Get Results | popular instagram hashtags | |
How the Facebook Algorithm Works in 2020 and How to Work With It | facebook algorithm |
View hootsuite_titles.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 5 columns, instead of 3. in line 7.
,Optimized_Title,Original_Title,Keyword,Optimized | |
15,How to Add Links to Instagram Stories with Swipe-Up,How to Add link to Instagram Stories with twitter,how to add link to instagram story,90 | |
18,How to Make Money on Instagram: 3 Foolproof Strategies,How to Make Money on Instagram: 3 good Strategies,how to make money on instagram,91 | |
21,How to Add Links to Instagram Stories with Swipe-Up,How to Add link to Instagram Stories with twitter,how to add a link to instagram story,90 | |
29,How to Create Beautiful Instagram Highlight Covers (40 Free Icons),How to Create Beautiful Instagram cover Covers (40 Free Icons),instagram highlight covers,89 | |
48,How to Schedule Instagram Posts: A Simple Step-By-Step Guide,How to make Instagram in A Simple Step-By-Step Guide,schedule instagram posts,84 | |
51,Want to Buy Instagram Followers? Here's What Happens When You Do,Want to Buy Instagram friends? Here's What Happens When You Do,how to buy instagram followers,92 | |
53,How to Add Links to Instagram Stories with Swipe-Up,How to Add link |
View title_optimizer.py
import streamlit as st | |
from ludwig.api import LudwigModel | |
import pandas as pd | |
st.cache(show_spinner=False) | |
def load_model(): | |
#Update with the path to the Ludwig trained model | |
model = LudwigModel.load("results/experiment_run_1/model/") | |
return model |
View t5_config_yaml.py
yaml_config=""" | |
input_features: | |
- | |
name: Original_Title | |
type: text | |
level: word | |
encoder: t5 | |
reduce_output: null | |
- | |
name: Keyword |
View get_search_console_data.py
#let's build a pandas dataframe with the search console data | |
import pandas as pd | |
def get_search_console_data(webproperty, days=-365): | |
if webproperty is not None: | |
query = webproperty.query.range(start='today', days=days).dimension('date', 'query') | |
r = query.get() | |
df = pd.DataFrame(r.rows) | |
return df |
View misplaced_canonical_test.py
from requests_html import HTMLSession | |
#Builds a DOM path recursively | |
def build_dom_path(element, path): | |
if element is None: | |
return path | |
else: | |
path.append(element.tag) | |
View wordpress_ping_requirements.txt
lxml | |
advertools | |
gitpython | |
PyYAML |
View wordpress_ping_cloudfunction.py
from git import Repo | |
from lxml import etree | |
import advertools as adv | |
from datetime import datetime | |
import yaml | |
import os | |
full_path="/tmp/wordpress-updates" | |
#get credentials from environment variables |
NewerOlder