Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ import black # Add black import
|
|
| 10 |
# Initialize the inference client
|
| 11 |
client = InferenceClient(
|
| 12 |
api_key=os.getenv("HF_TOKEN"), # Make sure to set this environment variable
|
|
|
|
| 13 |
)
|
| 14 |
|
| 15 |
# Load questions from Hugging Face dataset
|
|
|
|
| 10 |
# Initialize the inference client
|
| 11 |
client = InferenceClient(
|
| 12 |
api_key=os.getenv("HF_TOKEN"), # Make sure to set this environment variable
|
| 13 |
+
base_url="https://router.huggingface.co"
|
| 14 |
)
|
| 15 |
|
| 16 |
# Load questions from Hugging Face dataset
|