elibrowne commited on
Commit
ed092c2
1 Parent(s): a5c31fc
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -157,11 +157,9 @@ with gr.Blocks(theme = theme) as user_eval:
157
  }
158
  # No longer uploading after first creation: user must answer question for that.
159
 
160
- def update_huggingface(id, data):
161
  print("Updating data...")
162
- print(id)
163
- print(str(id))
164
- print(id.value)
165
  filename = id.replace('@', '_AT_').replace('.', '_DOT_')
166
  # Create a local file that will be uploaded to HuggingFace
167
  with open(filename + ".json", "w") as f:
 
157
  }
158
  # No longer uploading after first creation: user must answer question for that.
159
 
160
+ def update_huggingface(data):
161
  print("Updating data...")
162
+ id = data["user_id"]
 
 
163
  filename = id.replace('@', '_AT_').replace('.', '_DOT_')
164
  # Create a local file that will be uploaded to HuggingFace
165
  with open(filename + ".json", "w") as f: