Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def convert_base64_to_img(image_string):
|
|
27 |
|
28 |
def infer(image_string, question):
|
29 |
image_in = convert_base64_to_img(image_string)
|
30 |
-
client = Client("
|
31 |
result = client.predict(
|
32 |
image = handle_file(image_in),
|
33 |
question = question,
|
|
|
27 |
|
28 |
def infer(image_string, question):
|
29 |
image_in = convert_base64_to_img(image_string)
|
30 |
+
client = Client("fffiloni/moondream1", hf_token=hf_token)
|
31 |
result = client.predict(
|
32 |
image = handle_file(image_in),
|
33 |
question = question,
|