arjunanand13 commited on
Commit
e018724
·
verified ·
1 Parent(s): 8ea3c0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from huggingface_hub import InferenceApi
3
 
4
  api_token = "your_huggingface_api_token"
5
- client = InferenceApi("HuggingFaceM4/idefics2-8b", api_token=api_token)
6
 
7
  def model_inference(image, text):
8
  inputs = {
 
2
  from huggingface_hub import InferenceApi
3
 
4
  api_token = "your_huggingface_api_token"
5
+ client = InferenceApi("HuggingFaceM4/idefics2-8b")
6
 
7
  def model_inference(image, text):
8
  inputs = {