Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"
|
| 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 = {
|