Chhagan005 commited on
Commit
ee2bb2f
·
verified ·
1 Parent(s): 3da2f47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -55,6 +55,14 @@ try:
55
  except ImportError:
56
  QWEN25_AVAILABLE = False
57
 
 
 
 
 
 
 
 
 
58
 
59
  from gradio.themes import Soft
60
  from gradio.themes.utils import colors, fonts, sizes
 
55
  except ImportError:
56
  QWEN25_AVAILABLE = False
57
 
58
+ try:
59
+ from peft import PeftModel, PeftConfig
60
+ PEFT_AVAILABLE = True
61
+ print("✅ PEFT available")
62
+ except ImportError:
63
+ PEFT_AVAILABLE = False
64
+ print("⚠️ PEFT not available")
65
+
66
 
67
  from gradio.themes import Soft
68
  from gradio.themes.utils import colors, fonts, sizes