Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from dotenv import load_dotenv, find_dotenv
|
|
10 |
_ = load_dotenv(find_dotenv()) # read local .env file
|
11 |
|
12 |
model_id = os.getenv("model_id")
|
13 |
-
hf_api_key = os.getenv(hf_api_key)
|
14 |
|
15 |
#api_url ="https://api-inference.huggingface.co/models/DunnBC22/flan-t5-base-text_summarization_data"
|
16 |
api_url =f"https://api-inference.huggingface.co/models/DunnBC22/{model_id}"
|
|
|
10 |
_ = load_dotenv(find_dotenv()) # read local .env file
|
11 |
|
12 |
model_id = os.getenv("model_id")
|
13 |
+
hf_api_key = os.getenv("hf_api_key")
|
14 |
|
15 |
#api_url ="https://api-inference.huggingface.co/models/DunnBC22/flan-t5-base-text_summarization_data"
|
16 |
api_url =f"https://api-inference.huggingface.co/models/DunnBC22/{model_id}"
|