Spaces:
Runtime error
Runtime error
Update image.py
Browse files
image.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import base64
|
| 3 |
from mistralai import Mistral, ImageURLChunk
|
| 4 |
|
| 5 |
-
client = Mistral(api_key="
|
| 6 |
|
| 7 |
def process_image(image):
|
| 8 |
encoded = base64.b64encode(image.read()).decode()
|
|
|
|
| 2 |
import base64
|
| 3 |
from mistralai import Mistral, ImageURLChunk
|
| 4 |
|
| 5 |
+
client = Mistral(api_key="RJIqm5OvwoMvLeWrFdv5JBx26tLsSSK7")
|
| 6 |
|
| 7 |
def process_image(image):
|
| 8 |
encoded = base64.b64encode(image.read()).decode()
|