Spaces:
Sleeping
Sleeping
BounharAbdelaziz
commited on
Commit
•
1a36a53
1
Parent(s):
207c9b0
update API URL
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import requests
|
3 |
import os
|
4 |
|
5 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
6 |
HF_TOKEN = os.environ['HF_TOKEN']
|
7 |
headers = {"Authorization": "Bearer "+ HF_TOKEN}
|
8 |
|
|
|
2 |
import requests
|
3 |
import os
|
4 |
|
5 |
+
API_URL = "https://api-inference.huggingface.co/models/atlasia/Terjman-Nano-MAX_LEN-512"
|
6 |
HF_TOKEN = os.environ['HF_TOKEN']
|
7 |
headers = {"Authorization": "Bearer "+ HF_TOKEN}
|
8 |
|