nnilayy commited on
Commit
db11b3c
·
1 Parent(s): ec7fa52

Set idefics-9b as base model

Browse files
Files changed (1) hide show
  1. app_dialogue.py +6 -6
app_dialogue.py CHANGED
@@ -24,17 +24,17 @@ from transformers import AutoProcessor
24
 
25
 
26
  MODELS = [
27
- # "HuggingFaceM4/idefics-9b-instruct",
28
- "HuggingFaceM4/idefics-80b-instruct",
29
  ]
30
 
31
  API_PATHS = {
32
  "HuggingFaceM4/idefics-9b-instruct": (
33
  "https://api-inference.huggingface.co/models/HuggingFaceM4/idefics-9b-instruct"
34
  ),
35
- "HuggingFaceM4/idefics-80b-instruct": (
36
- "https://api-inference.huggingface.co/models/HuggingFaceM4/idefics-80b-instruct"
37
- ),
38
  }
39
 
40
  SYSTEM_PROMPT = [
@@ -690,7 +690,7 @@ with gr.Blocks(title="AI Meme Generator", theme=gr.themes.Base(), css=css) as de
690
  with gr.Row(elem_id="model_selector_row"):
691
  model_selector = gr.Dropdown(
692
  choices=MODELS,
693
- value="HuggingFaceM4/idefics-80b-instruct",
694
  interactive=True,
695
  show_label=False,
696
  container=False,
 
24
 
25
 
26
  MODELS = [
27
+ "HuggingFaceM4/idefics-9b-instruct",
28
+ # "HuggingFaceM4/idefics-80b-instruct",
29
  ]
30
 
31
  API_PATHS = {
32
  "HuggingFaceM4/idefics-9b-instruct": (
33
  "https://api-inference.huggingface.co/models/HuggingFaceM4/idefics-9b-instruct"
34
  ),
35
+ # "HuggingFaceM4/idefics-80b-instruct": (
36
+ # "https://api-inference.huggingface.co/models/HuggingFaceM4/idefics-80b-instruct"
37
+ # ),
38
  }
39
 
40
  SYSTEM_PROMPT = [
 
690
  with gr.Row(elem_id="model_selector_row"):
691
  model_selector = gr.Dropdown(
692
  choices=MODELS,
693
+ value="HuggingFaceM4/idefics-9b-instruct",
694
  interactive=True,
695
  show_label=False,
696
  container=False,