thanhnt-cf commited on
Commit
ebe82af
·
1 Parent(s): 28f26e5

change default provider to anthropic instead of openai

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ with gr.Blocks(title='Internal Demo for Attribution') as demo:
90
  gallery = gr.Gallery(label='Images', type='filepath')
91
  probs_text = gr.Textbox(label='Probabilities', placeholder='Probabilities', visible=False)
92
  category = gr.Dropdown(label='Category', choices=garment_categories, value=garment_categories[0])
93
- provider = gr.Dropdown(label='Provider', choices=['openai', 'anthropic'], value='openai')
94
  button_extract = gr.Button(value='Extract Freestyle')
95
  with gr.Column(scale=4):
96
  # gr.Markdown('''<div style="text-align: left; font-size: 18px;">Click Follow Schema to convert the freestyle output to predefined schema</div>''')
 
90
  gallery = gr.Gallery(label='Images', type='filepath')
91
  probs_text = gr.Textbox(label='Probabilities', placeholder='Probabilities', visible=False)
92
  category = gr.Dropdown(label='Category', choices=garment_categories, value=garment_categories[0])
93
+ provider = gr.Dropdown(label='Provider', choices=['openai', 'anthropic'], value='anthropic')
94
  button_extract = gr.Button(value='Extract Freestyle')
95
  with gr.Column(scale=4):
96
  # gr.Markdown('''<div style="text-align: left; font-size: 18px;">Click Follow Schema to convert the freestyle output to predefined schema</div>''')