LinhIcey commited on
Commit
f27656b
1 Parent(s): 4b1efce

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -49,6 +49,9 @@ Lyrics can take images, text, and visual objects as input, and text and spatial
49
 
50
  ## 使用 Usage
51
 
 
 
 
52
  ```python
53
  import gradio as gr
54
  from PIL import Image
@@ -120,7 +123,7 @@ for image, text in zip(image_url, prompt):
120
  do_sample=False,
121
  num_beams=5,
122
  max_length=256,
123
- min_length=1,
124
  # repetition_penalty=1.5,
125
  length_penalty=1.0,
126
  # temperature=0.3,
 
49
 
50
  ## 使用 Usage
51
 
52
+ - 在运行代码前,需要把 config.json 中相关文件的配置路径改为模型断点所在路径,或是将运行代码放在 config.json 相同目录下。
53
+ - Before running the code, you need to change the configuration path of the relevant file in config.json to the path where the model breakpoint is located, or put the running code in the same directory as config.json.
54
+
55
  ```python
56
  import gradio as gr
57
  from PIL import Image
 
123
  do_sample=False,
124
  num_beams=5,
125
  max_length=256,
126
+ min_length=4,
127
  # repetition_penalty=1.5,
128
  length_penalty=1.0,
129
  # temperature=0.3,