tomo2chin2 commited on
Commit
2ed6e9a
·
verified ·
1 Parent(s): 2dc2a4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -111,7 +111,8 @@ iface = gr.Interface(
111
  outputs=output_text_gr,
112
  title="ファイル ⇨ Base64 エンコーダー (Gradio UI)",
113
  description="画像 (JPG, PNG, GIF等) または PDF ファイルをアップロードすると、その Base64 エンコードされた文字列が表示されます。",
114
- allow_flagging='never'
 
115
  )
116
 
117
  # --- GradioアプリをFastAPIにマウント ---
 
111
  outputs=output_text_gr,
112
  title="ファイル ⇨ Base64 エンコーダー (Gradio UI)",
113
  description="画像 (JPG, PNG, GIF等) または PDF ファイルをアップロードすると、その Base64 エンコードされた文字列が表示されます。",
114
+ # allow_flagging='never' を以下のように修正
115
+ flagging_mode="never" # Flagging機能を無効にする(推奨される書き方)
116
  )
117
 
118
  # --- GradioアプリをFastAPIにマウント ---