Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import argparse
|
2 |
import hashlib
|
3 |
import json
|
@@ -32,7 +33,6 @@ from tinychart.eval.eval_metric import parse_model_output, evaluate_cmds
|
|
32 |
|
33 |
from transformers import TextIteratorStreamer
|
34 |
from pathlib import Path
|
35 |
-
import spaces
|
36 |
|
37 |
DEFAULT_MODEL_PATH = "mPLUG/TinyChart-3B-768"
|
38 |
DEFAULT_MODEL_NAME = "TinyChart-3B-768"
|
|
|
1 |
+
import spaces
|
2 |
import argparse
|
3 |
import hashlib
|
4 |
import json
|
|
|
33 |
|
34 |
from transformers import TextIteratorStreamer
|
35 |
from pathlib import Path
|
|
|
36 |
|
37 |
DEFAULT_MODEL_PATH = "mPLUG/TinyChart-3B-768"
|
38 |
DEFAULT_MODEL_NAME = "TinyChart-3B-768"
|