Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ Always respond with the chord name and a short explanation of the intervals.
|
|
| 50 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
| 51 |
|
| 52 |
# API URL – using GPT-2 as demo, can be swapped for another model
|
| 53 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
| 54 |
|
| 55 |
|
| 56 |
def respond(message, history, system_message, max_tokens, temperature, top_p):
|
|
|
|
| 50 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
| 51 |
|
| 52 |
# API URL – using GPT-2 as demo, can be swapped for another model
|
| 53 |
+
API_URL = "https://api-inference.huggingface.co/models/distilgpt2"
|
| 54 |
|
| 55 |
|
| 56 |
def respond(message, history, system_message, max_tokens, temperature, top_p):
|