tcz commited on
Commit
cdb8270
·
verified ·
1 Parent(s): 678e57c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -4
README.md CHANGED
@@ -23,7 +23,7 @@ The model was trained on mobile resolution (393×852) SVGs only. Its test set ac
23
 
24
  ## Usage
25
 
26
- ```
27
  !pip install vllm
28
 
29
  from vllm import LLM, SamplingParams
@@ -36,10 +36,7 @@ llm = LLM(
36
  max_model_len=12_000,
37
  max_num_seqs=64,
38
  )
39
- ```
40
 
41
- !unzip model.zip -d svgs
42
- #%%
43
  data_prompt = """Your job is to take an SVG file of a web design and convert it into a pixel-perfect HTML and CSS markup and stylesheet.
44
 
45
  ### Input:
@@ -67,3 +64,4 @@ prompt = data_prompt.format(
67
 
68
  output = llm.generate([prompt], sampling_params)
69
  print(output[0].outputs[0].text)
 
 
23
 
24
  ## Usage
25
 
26
+ ```python
27
  !pip install vllm
28
 
29
  from vllm import LLM, SamplingParams
 
36
  max_model_len=12_000,
37
  max_num_seqs=64,
38
  )
 
39
 
 
 
40
  data_prompt = """Your job is to take an SVG file of a web design and convert it into a pixel-perfect HTML and CSS markup and stylesheet.
41
 
42
  ### Input:
 
64
 
65
  output = llm.generate([prompt], sampling_params)
66
  print(output[0].outputs[0].text)
67
+ ```