totoro74 commited on
Commit
6e45523
·
verified ·
1 Parent(s): f87ad80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -4,6 +4,13 @@ import json
4
  import joblib
5
  from huggingface_hub import hf_hub_download
6
 
 
 
 
 
 
 
 
7
  # Function to load models safely
8
  def load_model(model_path):
9
  """Loads a model based on the file type, ensuring safe execution."""
 
4
  import joblib
5
  from huggingface_hub import hf_hub_download
6
 
7
+
8
+ import streamlit as st
9
+ import huggingface_hub
10
+
11
+ # Display the version of huggingface_hub
12
+ st.write(f"Hugging Face Hub version: {huggingface_hub.__version__}")
13
+
14
  # Function to load models safely
15
  def load_model(model_path):
16
  """Loads a model based on the file type, ensuring safe execution."""