XUSHUYA commited on
Commit
b5f8814
·
verified ·
1 Parent(s): 3817f54

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +8 -0
requirements.txt CHANGED
@@ -1,3 +1,4 @@
 
1
  einops
2
  faster-coco-eval
3
  graphviz
@@ -13,3 +14,10 @@ rich
13
  torch
14
  torchvision
15
  wandb
 
 
 
 
 
 
 
 
1
+ # 您的原始清單
2
  einops
3
  faster-coco-eval
4
  graphviz
 
14
  torch
15
  torchvision
16
  wandb
17
+
18
+ # --- 必須新增以下套件來解決問題 ---
19
+ gradio # 確保 Gradio 被安裝
20
+
21
+ # 【關鍵修正】:鎖定 pydantic 版本來解決 TypeError
22
+ # 根據常見的 Gradio 錯誤,這個版本可以避免與新版 Gradio 的衝突。
23
+ pydantic==2.10.6