yihong0618 / bilingual_book_maker

Make bilingual epub books Using AI translate
MIT License
7.68k stars 1.07k forks source link

分享一个ColaBook环境 #16

Open ed4win opened 1 year ago

ed4win commented 1 year ago

可能有些人电脑上没有Python,或者零Python基础,分享一个可以直接运行的ColaBook bilingual_book_maker_Colab

https://colab.research.google.com/drive/1oPEAL36LWQqpNP32L7sqRtxssWU4z-Vw?usp=sharing

一边问chatgpt一边建的,所以非常简陋,仅仅是能是运行

MIBlue119 commented 1 year ago

@ed4win I add some argument selections with colab basic UI extending from your colab, sharing with you https://colab.research.google.com/drive/1mz0U3AJVUP3DWCW7OZ2yrObNGxagByX1#scrollTo=UiikQTZrhDOF

I saw a streamlit app based on the project at twitter which is awesome too https://goldengrape-bilingual-book-maker-streamlit-app-x7nhof.streamlit.app/

ed4win commented 1 year ago

@MIBlue119 It's Awesome , Thank you so much for all that you do.

zerone0x commented 1 year ago

It seems I don't have permission to access the apphttps://colab.research.google.com/drive/1mz0U3AJVUP3DWCW7OZ2yrObNGxagByX1#scrollTo=UiikQTZrhDOF

zerone0x commented 1 year ago

@MIBlue119 how to gain the permission?

MIBlue119 commented 1 year ago

@zerone0x I adjusted the permission, try it again~ https://colab.research.google.com/drive/1mz0U3AJVUP3DWCW7OZ2yrObNGxagByX1?usp=sharing

shkstar commented 1 year ago

Can you add claude version by adding https://github.com/BerriAI/litellm? I don't know how to call the claude model, thanks.

krrishdholakia commented 1 year ago

Hey @shkstar i believe there is already support for it as this project uses litellm (context: I'm the maintainer of litellm)

https://github.com/yihong0618/bilingual_book_maker/blob/5a7cbca75f618225b81e1dc290744936880b9001/book_maker/translator/litellm_translator.py#L20