Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,9 +20,6 @@ from huggingface_hub import login, InferenceClient
|
|
| 20 |
# --- Constants ---
|
| 21 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 22 |
|
| 23 |
-
load_dotenv()
|
| 24 |
-
login(os.getenv("HUGGINGFACEHUB_API_TOKEN"))
|
| 25 |
-
|
| 26 |
model_id = "google/gemma-3-4b-it"
|
| 27 |
|
| 28 |
client = InferenceClient(model=model_id)
|
|
|
|
| 20 |
# --- Constants ---
|
| 21 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 22 |
|
|
|
|
|
|
|
|
|
|
| 23 |
model_id = "google/gemma-3-4b-it"
|
| 24 |
|
| 25 |
client = InferenceClient(model=model_id)
|