Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def load_models():
|
|
53 |
|
54 |
sketch_decoder = SketchDecoder()
|
55 |
|
56 |
-
sketch_weight_path = Qwen2_5_VLForConditionalGeneration.from_pretrained("OmniSVG/OmniSVG")
|
57 |
#sketch_weight_path = "https://huggingface.co/OmniSVG/OmniSVG/resolve/main/OmniSVG-3B.bin"
|
58 |
sketch_decoder.load_state_dict(torch.load(sketch_weight_path))
|
59 |
sketch_decoder = sketch_decoder.to(device).eval()
|
|
|
53 |
|
54 |
sketch_decoder = SketchDecoder()
|
55 |
|
56 |
+
sketch_weight_path = Qwen2_5_VLForConditionalGeneration.from_pretrained("OmniSVG/OmniSVG-3B")
|
57 |
#sketch_weight_path = "https://huggingface.co/OmniSVG/OmniSVG/resolve/main/OmniSVG-3B.bin"
|
58 |
sketch_decoder.load_state_dict(torch.load(sketch_weight_path))
|
59 |
sketch_decoder = sketch_decoder.to(device).eval()
|