gnaw05 commited on
Commit
5f46ff7
·
verified ·
1 Parent(s): 14db4b1
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ st.set_page_config(page_title="📑 Contract Analyzer", layout="wide")
16
  # Tải mô hình Hugging Face từ Hub
17
  def load_inference_client():
18
  try:
19
- return InferenceClient(repo_id="HuggingFaceH4/zephyr-7b-beta")
20
  except Exception as e:
21
  st.error(f"Error loading InferenceClient: {e}")
22
  return None
 
16
  # Tải mô hình Hugging Face từ Hub
17
  def load_inference_client():
18
  try:
19
+ return InferenceClient("HuggingFaceH4/zephyr-7b-beta")
20
  except Exception as e:
21
  st.error(f"Error loading InferenceClient: {e}")
22
  return None