Spaces:
Sleeping
Sleeping
Utkarsh Verma
commited on
Commit
·
65d1591
1
Parent(s):
c171bd8
Changing code
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ app = Flask(__name__)
|
|
| 7 |
# Set your Hugging Face API key
|
| 8 |
HF_API_KEY = os.getenv("HF_API_KEY") # Store in environment variable
|
| 9 |
|
| 10 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
| 11 |
headers = {"Authorization": f"Bearer {HF_API_KEY}"}
|
| 12 |
|
| 13 |
@app.route('/')
|
|
|
|
| 7 |
# Set your Hugging Face API key
|
| 8 |
HF_API_KEY = os.getenv("HF_API_KEY") # Store in environment variable
|
| 9 |
|
| 10 |
+
API_URL = "https://api-inference.huggingface.co/models/tiiuae/falcon-7b-instruct"
|
| 11 |
headers = {"Authorization": f"Bearer {HF_API_KEY}"}
|
| 12 |
|
| 13 |
@app.route('/')
|