Spaces:
Runtime error
Runtime error
tuandunghcmut
commited on
Commit
•
144b5c1
1
Parent(s):
a68c79f
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ user_prompt = '<|user|>\n'
|
|
50 |
assistant_prompt = '<|assistant|>\n'
|
51 |
prompt_suffix = "<|end|>\n"
|
52 |
|
53 |
-
@spaces.GPU
|
54 |
def run_example(image, text_input=None, model_id="Qwen/Qwen2-VL-2B-Instruct"):
|
55 |
image_path = array_to_image_path(image)
|
56 |
|
|
|
50 |
assistant_prompt = '<|assistant|>\n'
|
51 |
prompt_suffix = "<|end|>\n"
|
52 |
|
53 |
+
@spaces.GPU
|
54 |
def run_example(image, text_input=None, model_id="Qwen/Qwen2-VL-2B-Instruct"):
|
55 |
image_path = array_to_image_path(image)
|
56 |
|