Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import torch
|
|
| 4 |
from diffusers import StableDiffusionInstructPix2PixPipeline, EulerAncestralDiscreteScheduler
|
| 5 |
|
| 6 |
# Load model from HF Hub (your model repo)
|
| 7 |
-
model_id = "yutengz/
|
| 8 |
|
| 9 |
pipe = StableDiffusionInstructPix2PixPipeline.from_pretrained(
|
| 10 |
model_id,
|
|
@@ -26,7 +26,7 @@ demo = gr.Interface(
|
|
| 26 |
gr.Textbox(label="Instruction Prompt", placeholder="e.g., stack the blocks"),
|
| 27 |
],
|
| 28 |
outputs=gr.Image(label="Predicted Image"),
|
| 29 |
-
title="🧠
|
| 30 |
description="A fine-tuned InstructPix2Pix model for robotic action frame prediction."
|
| 31 |
)
|
| 32 |
|
|
|
|
| 4 |
from diffusers import StableDiffusionInstructPix2PixPipeline, EulerAncestralDiscreteScheduler
|
| 5 |
|
| 6 |
# Load model from HF Hub (your model repo)
|
| 7 |
+
model_id = "yutengz/Action2Vision"
|
| 8 |
|
| 9 |
pipe = StableDiffusionInstructPix2PixPipeline.from_pretrained(
|
| 10 |
model_id,
|
|
|
|
| 26 |
gr.Textbox(label="Instruction Prompt", placeholder="e.g., stack the blocks"),
|
| 27 |
],
|
| 28 |
outputs=gr.Image(label="Predicted Image"),
|
| 29 |
+
title="🧠 Action2Vision",
|
| 30 |
description="A fine-tuned InstructPix2Pix model for robotic action frame prediction."
|
| 31 |
)
|
| 32 |
|