Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
from transformers import Qwen2VLForConditionalGeneration, AutoProcessor
|
| 2 |
from qwen_vl_utils import process_vision_info
|
| 3 |
import spaces
|
| 4 |
-
|
| 5 |
# Default: Load the model on the available device(s)
|
| 6 |
model = Qwen2VLForConditionalGeneration.from_pretrained(
|
| 7 |
"OS-Copilot/OS-Atlas-Base-7B", torch_dtype="auto", device_map="auto"
|
|
|
|
| 1 |
from transformers import Qwen2VLForConditionalGeneration, AutoProcessor
|
| 2 |
from qwen_vl_utils import process_vision_info
|
| 3 |
import spaces
|
| 4 |
+
import gradio as gr
|
| 5 |
# Default: Load the model on the available device(s)
|
| 6 |
model = Qwen2VLForConditionalGeneration.from_pretrained(
|
| 7 |
"OS-Copilot/OS-Atlas-Base-7B", torch_dtype="auto", device_map="auto"
|