Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def progress_bar_html(label: str) -> str:
|
|
19 |
return f'''
|
20 |
<div style="display: flex; align-items: center;">
|
21 |
<span style="margin-right: 10px; font-size: 14px;">{label}</span>
|
22 |
-
<div style="width: 110px; height: 5px; background-color: #
|
23 |
<div style="width: 100%; height: 100%; background-color: #00FA9A ; animation: loading 1.5s linear infinite;"></div>
|
24 |
</div>
|
25 |
</div>
|
@@ -59,7 +59,7 @@ def model_inference(input_dict, history):
|
|
59 |
else:
|
60 |
# For simplicity, use the first provided image.
|
61 |
image = load_image(files[0])
|
62 |
-
yield progress_bar_html("Processing with Aya-Vision")
|
63 |
messages = [{
|
64 |
"role": "user",
|
65 |
"content": [
|
|
|
19 |
return f'''
|
20 |
<div style="display: flex; align-items: center;">
|
21 |
<span style="margin-right: 10px; font-size: 14px;">{label}</span>
|
22 |
+
<div style="width: 110px; height: 5px; background-color: #8FBC8B; border-radius: 2px; overflow: hidden;">
|
23 |
<div style="width: 100%; height: 100%; background-color: #00FA9A ; animation: loading 1.5s linear infinite;"></div>
|
24 |
</div>
|
25 |
</div>
|
|
|
59 |
else:
|
60 |
# For simplicity, use the first provided image.
|
61 |
image = load_image(files[0])
|
62 |
+
yield progress_bar_html("Processing with Aya-Vision-8b")
|
63 |
messages = [{
|
64 |
"role": "user",
|
65 |
"content": [
|