omerXfaruq commited on
Commit
b151acc
1 Parent(s): 99d0af3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -29,6 +29,7 @@ class SpaceBuilder:
29
  filtered_list = []
30
  for name in name_list:
31
  if not (name == "" or name.isspace()):
 
32
  filtered_list.append(name)
33
  return filtered_list
34
 
@@ -242,7 +243,7 @@ if __name__ == "__main__":
242
  gr.inputs.Textbox(lines=1, placeholder="Description for the target space interface, ie. Description"),
243
  ],
244
  title="Model Comparator Space Builder",
245
- description="I can create a comparative space which will compare the models and/or spaces you provide to me. You can get your HF Write Token from [here](https://huggingface.co/settings/tokens). If you leave HF Token input empty, the space will release under the author's account [farukozderim](https://huggingface.co/farukozderim). Finally, you can publish spaces as a clone of other spaces if you provide just a single model or space. Have fun :)",
246
  outputs=gr.outputs.HTML(label="URL"),
247
  examples= [["models/gpt2-large \nmodels/gpt2", "", "example-name", "example-title", "example-description"]],
248
  )
 
29
  filtered_list = []
30
  for name in name_list:
31
  if not (name == "" or name.isspace()):
32
+ name.replace(" ", "")
33
  filtered_list.append(name)
34
  return filtered_list
35
 
 
243
  gr.inputs.Textbox(lines=1, placeholder="Description for the target space interface, ie. Description"),
244
  ],
245
  title="Model Comparator Space Builder",
246
+ description="Welcome 🤗\nI can create a comparative space which will compare the models and/or spaces you provide to me. You can get your HF Write Token from [here](https://huggingface.co/settings/tokens). If you leave HF Token input empty, the space will release under the author's account, [farukozderim](https://huggingface.co/farukozderim). Finally, you can publish spaces as a clone of other spaces if you provide just a single model or space. Have fun :)",
247
  outputs=gr.outputs.HTML(label="URL"),
248
  examples= [["models/gpt2-large \nmodels/gpt2", "", "example-name", "example-title", "example-description"]],
249
  )