Skip to content

Instantly share code, notes, and snippets.

View jpfraneto's full-sized avatar
🎯
Focusing

Jorge Pablo Franetovic Stocker jpfraneto

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jpfraneto on github.
  • I am jpfraneto (https://keybase.io/jpfraneto) on keybase.
  • I have a public key ASBDxf_4spAbO0ZLQ5sezxpBvc7uNpaDiFArTwZyv-FBuwo

To claim this, I am signing this object:

package main
import (
"bytes"
"crypto/ed25519"
"encoding/hex"
"fmt"
"io/ioutil"
"log"
"net/http"
package main
import (
"crypto/ecdsa"
"encoding/hex"
"fmt"
"log"
"github.com/ethereum/go-ethereum/crypto"
"github.com/tyler-smith/go-bip39"
@jpfraneto
jpfraneto / chameleon's service.py
Created July 1, 2024 10:50
from lines 287 to 321, you can see the addition of the /api/interpret_post route to the handler of the backend of chameleon. this allows us to talk to this model over an api request, and have it interpret images with text.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the Chameleon License found in the
# LICENSE file in the root directory of this source tree.
import base64
import io
import socket
import subprocess
import time
export const dummyData = [
{
hash: '0x132e09e74323feb197648b8b0c01bab4611f281f',
channel: 'airstack',
username: 'bitfloorsghost.eth',
fid: 269694,
gifUrl: 'https://res.cloudinary.com/dzpugkpuz/image/upload/v1721332553/zurf/cast_gifs/c4ffeb48-0236-4991-8023-4a73fd61b9eb.gif',
videoUrl: 'https://stream.warpcast.com/v1/video/0ed247c584983f7edd2dd2191913edcb.m3u8'
},
{