Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ import gradio as gr # Imports the Gradio library, which is used to create user i
|
|
7 |
from datetime import datetime
|
8 |
|
9 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
|
|
10 |
|
11 |
def date_now():
|
12 |
return datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
|
|
7 |
from datetime import datetime
|
8 |
|
9 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
10 |
+
API_URL = "https://api-inference.huggingface.co/models/"
|
11 |
|
12 |
def date_now():
|
13 |
return datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|