omerXfaruq commited on
Commit
b775a96
1 Parent(s): 8ad04f8

- remove huggingface_hub.hf_api.get_full_repo_name usage

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -6,6 +6,7 @@ import gradio as gr
6
 
7
  import huggingface_hub
8
 
 
9
  def file_as_a_string(name_list: List[str]) -> str:
10
  """
11
  Returns the file that is going to be created in the new space as string.
@@ -80,7 +81,8 @@ def space_builder(spaces: str, hf_token: str, username: str, space_name: str, sp
80
  :return:
81
  """
82
  # return "Thank you for using the draft, it will be completed later"
83
- return check_space_availability(hf_token, space_name) + "version of huggingface_hub :" + huggingface_hub.__version__
 
84
 
85
 
86
  iface = gr.Interface(
 
6
 
7
  import huggingface_hub
8
 
9
+
10
  def file_as_a_string(name_list: List[str]) -> str:
11
  """
12
  Returns the file that is going to be created in the new space as string.
 
81
  :return:
82
  """
83
  # return "Thank you for using the draft, it will be completed later"
84
+ # check_space_availability(hf_token, space_name) +
85
+ return "version of huggingface_hub :" + huggingface_hub.__version__
86
 
87
 
88
  iface = gr.Interface(