johann22 commited on
Commit
ed0e96f
1 Parent(s): 14a9ccd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-80b-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
 
 
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