Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import requests
|
|
| 3 |
import os
|
| 4 |
|
| 5 |
# Hugging Face API URL and token for the model
|
| 6 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
| 7 |
HUGGINGFACE_API_KEY = os.getenv("HUGGINGFACE_API_KEY")
|
| 8 |
|
| 9 |
# Define a function to send user input to the model
|
|
|
|
| 3 |
import os
|
| 4 |
|
| 5 |
# Hugging Face API URL and token for the model
|
| 6 |
+
API_URL = "https://api-inference.huggingface.co/models/google/bigbird-pegasus-large-pubmed"
|
| 7 |
HUGGINGFACE_API_KEY = os.getenv("HUGGINGFACE_API_KEY")
|
| 8 |
|
| 9 |
# Define a function to send user input to the model
|