Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from text_generation import Client
|
|
2 |
import os
|
3 |
|
4 |
API_TOKEN = os.environ.get("API_TOKEN")
|
5 |
-
API_URL = "https://api-inference.huggingface.co/models/HuggingFaceM4/idefics-
|
6 |
DECODING_STRATEGY = "Greedy"
|
7 |
QUERY = "User: What is in this image?![](https://upload.wikimedia.org/wikipedia/commons/8/86/Id%C3%A9fix.JPG)<end_of_utterance>\nAssistant:"
|
8 |
|
|
|
2 |
import os
|
3 |
|
4 |
API_TOKEN = os.environ.get("API_TOKEN")
|
5 |
+
API_URL = "https://api-inference.huggingface.co/models/HuggingFaceM4/idefics-9b-instruct"
|
6 |
DECODING_STRATEGY = "Greedy"
|
7 |
QUERY = "User: What is in this image?![](https://upload.wikimedia.org/wikipedia/commons/8/86/Id%C3%A9fix.JPG)<end_of_utterance>\nAssistant:"
|
8 |
|