ginipick commited on
Commit
587b6d5
·
verified ·
1 Parent(s): 97326af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ def get_headers():
13
  raise ValueError("Hugging Face token not found in environment variables")
14
  return {"Authorization": f"Bearer {HF_TOKEN}"}
15
 
16
- def get_most_liked_spaces(limit: int = 100) -> Union[List[Dict], str]:
17
  url = "https://huggingface.co/api/spaces"
18
  params = {
19
  "sort": "likes",
@@ -123,7 +123,7 @@ def create_ui():
123
  space_rows.append((space_row, button, space))
124
 
125
  with gr.Column(scale=1):
126
- info_output = gr.Textbox(label="Space 정보 및 요약", lines=10)
127
  app_py_content = gr.Code(language="python", label="app.py 내용")
128
 
129
  for _, button, space in space_rows:
 
13
  raise ValueError("Hugging Face token not found in environment variables")
14
  return {"Authorization": f"Bearer {HF_TOKEN}"}
15
 
16
+ def get_most_liked_spaces(limit: int = 300) -> Union[List[Dict], str]:
17
  url = "https://huggingface.co/api/spaces"
18
  params = {
19
  "sort": "likes",
 
123
  space_rows.append((space_row, button, space))
124
 
125
  with gr.Column(scale=1):
126
+ info_output = gr.Textbox(label="Space 정보 및 요약", lines=12)
127
  app_py_content = gr.Code(language="python", label="app.py 내용")
128
 
129
  for _, button, space in space_rows: