Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import os
|
|
5 |
st.title("Ask Codestral-22B-v0.1")
|
6 |
|
7 |
hf_token = os.getenv("HUGGINGFACE_HUB_TOKEN")
|
8 |
-
api_url = "https://api-inference.huggingface.co/models/mistralai/Codestral-22B-v0.1"
|
9 |
|
10 |
headers = {
|
11 |
"Authorization": f"Bearer {hf_token}"
|
|
|
5 |
st.title("Ask Codestral-22B-v0.1")
|
6 |
|
7 |
hf_token = os.getenv("HUGGINGFACE_HUB_TOKEN")
|
8 |
+
api_url = "https://api-inference.huggingface.co/models/mistralai/Codestral-22B-v0.1" # Update with correct owner and model name
|
9 |
|
10 |
headers = {
|
11 |
"Authorization": f"Bearer {hf_token}"
|