zhiminy commited on
Commit
c46919f
·
1 Parent(s): cb57621

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -55,9 +55,6 @@ if len(available_models) < 2:
55
  models_state = {}
56
  conversation_state = {}
57
 
58
- # Define functions here
59
-
60
-
61
  # Truncate prompt
62
  def truncate_prompt(prompt, model_alias, models):
63
  model_name = models[model_alias]
@@ -167,7 +164,6 @@ def load_content_from_hf(repo_name="SE-Arena/votes"):
167
 
168
  try:
169
  api = HfApi()
170
- print('here')
171
  # List all files in the repository
172
  repo_files = api.list_repo_files(repo_id=repo_name, repo_type="dataset")
173
 
 
55
  models_state = {}
56
  conversation_state = {}
57
 
 
 
 
58
  # Truncate prompt
59
  def truncate_prompt(prompt, model_alias, models):
60
  model_name = models[model_alias]
 
164
 
165
  try:
166
  api = HfApi()
 
167
  # List all files in the repository
168
  repo_files = api.list_repo_files(repo_id=repo_name, repo_type="dataset")
169