jsup.GEN - working on image-to-image generation with AI

Image
by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/jsup-gen-working-on-image-to-image-generation-with-ai Hello, this is @joviansummer(witness: @jswit). I'd like to share what I'm working on regarding my experintal jsup.GEN project, which tries to connect image generation AI with Steemit. Currently, jsup.GEN provide function to generate image from test prompt(txt2img). This function is interesting, but it's not easy to generate exactly what you want because you need to explain the image in detail with multiple keywords in English. Thus, I think it's more useful to have a function to generate image from existing reference image. I'm working on this image-to-image function, and thinking about two methods to implement it. The first method is to provide 2 commands as follows: !gen_t : This command focuses more on text prompt than reference image. The result may be quite different from reference because text prompt will have much more in...

파이썬 beem에서 스팀파워(SP)를 VEST값으로 변환

by joviansummer
original STEEMIT post: https://steemit.com/blog/@joviansummer/beem-sp-vest


스팀 블럭체인에서 스팀파워(SP)는 VEST라는 단위로 바뀌어서 처리됩니다. 스팀파워는 사람이 읽기에 편리하지만 정확한 비율 계산을 위해서 내부적으로 처리하는 단위는 자리수가 훨씬 많은 VEST입니다. 관련 내용은 이전 포스팅을 참고하시기 바랍니다. 아래의 링크입니다.

파이썬 beem을 이용해서 현재 스팀파워(SP) 확인하기

위의 포스트에서는 계정의 스팀파워를 확인하기 위해 VEST값을 스팀파워로 변환하는 과정이 있는데, 여기에서는 반대로 스팀파워를 VEST값으로 변환하는 방법을 정리합니다. Steem 객체에서 sp_to_vests()라는 함수를 제공하기 때문에 간편하게 변환할 수 있습니다. 인자(argument)로 입력하는 스팀파워와 반환되는 VEST값 모두 부동소수점(float) 형식입니다.

예제 코드는 아래와 같습니다.

from beem import Steem

node_list = ["https://api.steemit.com"]
s = Steem(node=node_list)

# 10.5sp를 VEST로 변환하여 변수 vests_val에 할당
sp_val = 10.5
vests_val = s.sp_to_vests(sp_val)

@joviansummer의 스팀 프로젝트

스팀 증인노드를 운영중입니다. @jswit에 증인투표해 주시면 감사하겠습니다.
(https://steemitwallet.com/~witnesses)

jswit 증인 노드 프로젝트를 시작합니다.

jsup 업보팅(upvoting) 서비스 소개

jsup 수혜자 지정 기능 추가

jSTEEM 프로젝트 - 텔레그램 챗봇으로 구현하는 스팀 블럭체인 탐색기

STEEM.NFT - 디지털 아트 보존 프로젝트

Posted through the AVLE Dapp (https://avle.io)

Comments

Popular posts from this blog

스티미언의 영향력 지수 계산

jsup/avle code update - you don't have to write post everyday

jsup/avle 보팅 코드 갱신 - 1일1포스팅 강박에서 벗어나기