Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
2bab761
1
Parent(s):
8de0c3f
Fix error
Browse files- __pycache__/canvas.cpython-311.pyc +0 -0
- app.py +3 -2
__pycache__/canvas.cpython-311.pyc
ADDED
Binary file (17.9 kB). View file
|
|
app.py
CHANGED
@@ -11,7 +11,8 @@ from canvas import Idefics2Pipeline
|
|
11 |
|
12 |
def run_canvas(front_view, map_view, prompt):
|
13 |
pipeline = Idefics2Pipeline.from_pretrained(
|
14 |
-
"maum-ai/CANVAS-S"
|
|
|
15 |
)
|
16 |
messages = [
|
17 |
{"role": "system", "content": [{"type": "text", "text": prompt}]},
|
@@ -122,7 +123,7 @@ demo = gr.Interface(
|
|
122 |
],
|
123 |
outputs = gr.Image(label="generated waypoint"),
|
124 |
title="CANVAS Demo",
|
125 |
-
description=
|
126 |
examples=examples
|
127 |
)
|
128 |
|
|
|
11 |
|
12 |
def run_canvas(front_view, map_view, prompt):
|
13 |
pipeline = Idefics2Pipeline.from_pretrained(
|
14 |
+
# "maum-ai/CANVAS-S"
|
15 |
+
"/jyjung/CANVAS-S"
|
16 |
)
|
17 |
messages = [
|
18 |
{"role": "system", "content": [{"type": "text", "text": prompt}]},
|
|
|
123 |
],
|
124 |
outputs = gr.Image(label="generated waypoint"),
|
125 |
title="CANVAS Demo",
|
126 |
+
description="This is the demo of the [CANVAS-S](https://huggingface.co/maum-ai/CANVAS-S) model from our paper, [CANVAS: Commonsense-Aware Navigation System for Intuitive Human-Robot Interaction](https://worv-ai.github.io/canvas)",
|
127 |
examples=examples
|
128 |
)
|
129 |
|