Futuresony commited on
Commit
4777528
·
verified ·
1 Parent(s): 25dbe15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -1,5 +1,14 @@
 
 
 
 
 
1
  import gradio as gr
2
- from huggingface_hub import InferenceClient
 
 
 
 
3
 
4
  client = InferenceClient("Futuresony/CCM-AI")
5
 
 
1
+ import faiss
2
+ import numpy as np
3
+ import torch
4
+ from sentence_transformers import SentenceTransformer
5
+ from transformers import AutoModelForCausalLM, AutoTokenizer
6
  import gradio as gr
7
+ from huggingface_hub import hf_hub_download
8
+
9
+ # 🔹 Hugging Face Credentials
10
+ HF_REPO = "Futuresony/future_ai_12_10_2024.gguf"
11
+ HF_TOKEN = os.getenv('HUGGINGFACEHUB_API_TOKEN')
12
 
13
  client = InferenceClient("Futuresony/CCM-AI")
14