Spaces:
Runtime error
Runtime error
convert np.string_ to np.str_
Browse files
app.py
CHANGED
@@ -394,7 +394,7 @@ with gr.Blocks(css=css) as demo:
|
|
394 |
|
395 |
with gr.Column():
|
396 |
output_image = gr.Image(label="Generated Image")
|
397 |
-
style_lists = gr.Dataframe(value=np.array(STYLE_NAMES, dtype=np.
|
398 |
# style_lists = gr.List(value=[[x] for x in STYLE_NAMES], label="style templates list", visible=False)
|
399 |
# usage_tips = gr.Markdown(label="Usage tips of InstantID", value=tips, visible=False)
|
400 |
|
|
|
394 |
|
395 |
with gr.Column():
|
396 |
output_image = gr.Image(label="Generated Image")
|
397 |
+
style_lists = gr.Dataframe(value=np.array(STYLE_NAMES, dtype=np.str_), type="numpy", row_count=1, label="style templates list", visible=False)
|
398 |
# style_lists = gr.List(value=[[x] for x in STYLE_NAMES], label="style templates list", visible=False)
|
399 |
# usage_tips = gr.Markdown(label="Usage tips of InstantID", value=tips, visible=False)
|
400 |
|