Raiff1982 commited on
Commit
5958e3a
·
verified ·
1 Parent(s): 98a8ffb

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +11 -0
main.py CHANGED
@@ -1,4 +1,15 @@
1
  import logging
 
 
 
 
 
 
 
 
 
 
 
2
  from final_codettes_chatbot import HuggingFaceChatbot
3
 
4
  if __name__ == "__main__":
 
1
  import logging
2
+ import subprocess
3
+ import sys
4
+
5
+ subprocess.check_call([sys.executable, "-m", "pip", "install", "--upgrade",
6
+ "diffusers==0.25.0",
7
+ "huggingface_hub==0.20.3",
8
+ "transformers==4.37.2",
9
+ "torch>=2.1.0"])
10
+
11
+
12
+
13
  from final_codettes_chatbot import HuggingFaceChatbot
14
 
15
  if __name__ == "__main__":