0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Gradioの細かいお話(便利ツールと環境変数の設定法が変わった話)

0
Posted at

概要

たぶん誰もまとめていないので細かい話だがまとめておいた
 ①リアルタイムなログ表示
 ②環境変数の名称、たぶん変わりました

リアルタイムなログの表示

・Gradioはリアルタイムなログの表示などが不得意
・力業でどうにかする事もできるが、かなり面倒。

・最近良いライブラリが出てた(経緯は上のissueに記載されてる。pypi登録済。)

・頑張ればterminalの内容を全部表示できる
※表示できるログは1Mが上限っぽい(公式にも記載無い

環境変数の名称、たぶん変わりました

・公式を見ると、ネット記事と違った(コードも下のに変わってた。当然だが。)

・前:SERVER_PORT -> 今:GRADIO_SERVER_PORT
・前:SERVER_NAME -> 今:GRADIO_SERVER_NAME

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?