Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View hamletbatista's full-sized avatar

Hamlet Batista hamletbatista

View GitHub Profile
input_features:
-
name: Original_Title
type: text
level: word
encoder: t5
reduce_output: null
-
name: Keyword
type: text
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
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
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
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
yaml_config="""
input_features:
-
name: Original_Title
type: text
level: word
encoder: t5
reduce_output: null
-
name: Keyword
#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
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)
lxml
advertools
gitpython
PyYAML
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