Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
|
|
|
|
|
|
|
|
4 |
client = InferenceClient("Futuresony/future_ai_12_10_2024.gguf")
|
5 |
|
6 |
def format_alpaca_prompt(user_input, system_prompt):
|
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
4 |
+
# 🔹 Hugging Face Credentials
|
5 |
+
HF_REPO = "Futuresony/future_ai_12_10_2024.gguf"
|
6 |
+
HF_TOKEN = os.getenv('HUGGINGFACEHUB_API_TOKEN') # Ensure this is set in your environment
|
7 |
+
|
8 |
client = InferenceClient("Futuresony/future_ai_12_10_2024.gguf")
|
9 |
|
10 |
def format_alpaca_prompt(user_input, system_prompt):
|