haris-mandal commited on
Commit
2e84d60
·
verified ·
1 Parent(s): 70ebfba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -1,3 +1,11 @@
 
 
 
 
 
 
 
 
1
  import streamlit as st
2
  # wide layout
3
  st.set_page_config(layout="wide")
 
1
+ import subprocess
2
+
3
+ # Uninstall the huggingface_hub package
4
+ subprocess.run(["pip", "uninstall", "-y", "huggingface_hub"], check=True)
5
+
6
+ # Install a specific version of the huggingface_hub package
7
+ subprocess.run(["pip", "install", "huggingface_hub==0.23.5"], check=True)
8
+
9
  import streamlit as st
10
  # wide layout
11
  st.set_page_config(layout="wide")