Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -28,6 +28,7 @@ def convert_base64_to_img(image_string):
|
|
28 |
def infer(image_string, question):
|
29 |
image_in = convert_base64_to_img(image_string)
|
30 |
client = Client("https://fffiloni-moondream1.hf.space/", hf_token=hf_token)
|
|
|
31 |
result = client.predict(
|
32 |
image_in, # filepath in 'image' Image component
|
33 |
question, # str in 'Question' Textbox component
|
|
|
28 |
def infer(image_string, question):
|
29 |
image_in = convert_base64_to_img(image_string)
|
30 |
client = Client("https://fffiloni-moondream1.hf.space/", hf_token=hf_token)
|
31 |
+
print(client)
|
32 |
result = client.predict(
|
33 |
image_in, # filepath in 'image' Image component
|
34 |
question, # str in 'Question' Textbox component
|