Spaces:
Running
on
Zero
Running
on
Zero
fix: remove subprocess.
Browse files
app.py
CHANGED
|
@@ -7,10 +7,6 @@ from PIL import Image
|
|
| 7 |
from threading import Thread
|
| 8 |
import gradio as gr
|
| 9 |
import spaces
|
| 10 |
-
import subprocess
|
| 11 |
-
|
| 12 |
-
# to fix no space left bug.
|
| 13 |
-
result = subprocess.run("rm -rf /data-nvme/zerogpu-offload/*", env={}, shell=True)
|
| 14 |
|
| 15 |
model_name = "scb10x/typhoon2-qwen2vl-7b-vision-instruct"
|
| 16 |
model = Qwen2VLForConditionalGeneration.from_pretrained(
|
|
|
|
| 7 |
from threading import Thread
|
| 8 |
import gradio as gr
|
| 9 |
import spaces
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
model_name = "scb10x/typhoon2-qwen2vl-7b-vision-instruct"
|
| 12 |
model = Qwen2VLForConditionalGeneration.from_pretrained(
|