Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ USER_NAME = os.environ.get("USER_NAME", None)
|
|
10 |
APP_PASSWORD = os.environ.get("APP_PASSWORD", None)
|
11 |
|
12 |
# Define the model URL using the model_name
|
13 |
-
model_url = 'https://api-inference.huggingface.co/models/
|
14 |
|
15 |
# Create the InferenceClient
|
16 |
client = InferenceClient(model_url, headers={"Authorization": f"Bearer {HF_TOKEN}"})
|
|
|
10 |
APP_PASSWORD = os.environ.get("APP_PASSWORD", None)
|
11 |
|
12 |
# Define the model URL using the model_name
|
13 |
+
model_url = 'https://api-inference.huggingface.co/models/google/flan-t5-small'
|
14 |
|
15 |
# Create the InferenceClient
|
16 |
client = InferenceClient(model_url, headers={"Authorization": f"Bearer {HF_TOKEN}"})
|