Update README.md
Browse files
README.md
CHANGED
|
@@ -19,11 +19,11 @@ pipe = pipeline("text-generation", model="WenhaoWang/AutoT2VPrompt")
|
|
| 19 |
|
| 20 |
## Set the Parameters
|
| 21 |
```
|
| 22 |
-
input = "An undemwater world"
|
| 23 |
-
max_length = 50
|
| 24 |
-
temperature = 1.2
|
| 25 |
-
top_k = 8
|
| 26 |
-
num_return_sequences = 10
|
| 27 |
```
|
| 28 |
|
| 29 |
## Generation
|
|
|
|
| 19 |
|
| 20 |
## Set the Parameters
|
| 21 |
```
|
| 22 |
+
input = "An undemwater world" # The input text to generate text-to-video prompt.
|
| 23 |
+
max_length = 50 # The maximum length of the generated text.
|
| 24 |
+
temperature = 1.2 # Controls the randomness of the generation. Higher values lead to more random outputs.
|
| 25 |
+
top_k = 8 # Limits the number of words considered at each step to the top k most likely words.
|
| 26 |
+
num_return_sequences = 10 # The number of different text-to-video prompts to generate from the same input.
|
| 27 |
```
|
| 28 |
|
| 29 |
## Generation
|