Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,10 @@ from huggingface_hub import InferenceClient
|
|
| 4 |
"""
|
| 5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
| 6 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
# Changed the model to "google/gemma-3-4b-it"
|
| 8 |
client = InferenceClient("google/gemma-3.4b-it")
|
| 9 |
|
|
|
|
| 4 |
"""
|
| 5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
| 6 |
"""
|
| 7 |
+
|
| 8 |
+
from huggingface_hub import login
|
| 9 |
+
login()
|
| 10 |
+
|
| 11 |
# Changed the model to "google/gemma-3-4b-it"
|
| 12 |
client = InferenceClient("google/gemma-3.4b-it")
|
| 13 |
|