Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
\
|
| 2 |
import os
|
| 3 |
import io
|
| 4 |
import numpy as np
|
|
@@ -140,7 +139,7 @@ with gr.Blocks(title="Soft Skills WordCloud") as demo:
|
|
| 140 |
prefer_horizontal = gr.Checkbox(value=True, label="Prefer horizontal layout")
|
| 141 |
collocations = gr.Checkbox(value=False, label="Allow collocations (word pairs)")
|
| 142 |
stopwords_text = gr.Textbox(lines=4, label="Stopwords (one per line)", placeholder="e.g.\nและ\nกับ\nของ\nthe\nand")
|
| 143 |
-
mask_image = gr.Image(type="filepath", label="Mask image (optional)"
|
| 144 |
random_state = gr.Slider(0, 100, value=42, step=1, label="Random state (for reproducibility)")
|
| 145 |
|
| 146 |
run_btn = gr.Button("Generate Word Cloud", variant="primary")
|
|
|
|
|
|
|
| 1 |
import os
|
| 2 |
import io
|
| 3 |
import numpy as np
|
|
|
|
| 139 |
prefer_horizontal = gr.Checkbox(value=True, label="Prefer horizontal layout")
|
| 140 |
collocations = gr.Checkbox(value=False, label="Allow collocations (word pairs)")
|
| 141 |
stopwords_text = gr.Textbox(lines=4, label="Stopwords (one per line)", placeholder="e.g.\nและ\nกับ\nของ\nthe\nand")
|
| 142 |
+
mask_image = gr.Image(type="filepath", label="Mask image (optional)")
|
| 143 |
random_state = gr.Slider(0, 100, value=42, step=1, label="Random state (for reproducibility)")
|
| 144 |
|
| 145 |
run_btn = gr.Button("Generate Word Cloud", variant="primary")
|