Spaces:
Runtime error
Runtime error
patrickvonplaten
commited on
Commit
•
35712e5
1
Parent(s):
d71a81f
up
Browse files
app.py
CHANGED
@@ -141,7 +141,7 @@ def convert(*keywords):
|
|
141 |
# repo_type="dataset",
|
142 |
# )
|
143 |
|
144 |
-
inputs = [gr.Textbox(label=f"Enter your keywords for {k}", max_lines=2, placeholder=CAT_TO_CODEWORDS[k], value=CAT_TO_CODEWORDS[k]) for k in CATEGORIES]
|
145 |
|
146 |
iface = gr.Interface(
|
147 |
fn=convert, inputs=inputs, outputs="text")
|
|
|
141 |
# repo_type="dataset",
|
142 |
# )
|
143 |
|
144 |
+
inputs = [gr.Textbox(label=f"Enter your keywords for {k}", max_lines=2, placeholder=CAT_TO_CODEWORDS[k], value=",".join(CAT_TO_CODEWORDS[k])) for k in CATEGORIES]
|
145 |
|
146 |
iface = gr.Interface(
|
147 |
fn=convert, inputs=inputs, outputs="text")
|