-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
My code:
import void_terminal as vt
from rich.live import Live
from rich.markdown import Markdown
vt.set_conf(key="API_KEY", value="xxx")
vt.set_conf(key="LLM_MODEL", value="deepseek-chat")
vt.set_conf(key="DEEPSEEK_API_KEY", value="xxx")
plugin = vt.get_plugin_handle('void_terminal.crazy_functions.Latex_Function->TranslateChineseToEnglishInLatexAndRecompilePDF')
plugin_kwargs = vt.get_plugin_default_kwargs()
plugin_kwargs['main_input'] = '2402.10946'
my_working_plugin = plugin(**plugin_kwargs)
with Live(Markdown(""), auto_refresh=False) as live:
for cookies, chat, hist, msg in my_working_plugin:
md_str = vt.chat_to_markdown_str(chat)
md = Markdown(md_str)
live.update(md, refresh=True)
and the output:
in comparison, the web output is:
I have tried many times, and the void-terminal arxiv translation always failed. Can you give me some advice? Thanks very much!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

