chrisjay commited on
Commit
dc69193
1 Parent(s): f240072

saving to dataset

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -205,7 +205,7 @@ def flag(input_image,correct_result):
205
  def main():
206
  TITLE = "# MNIST Adversarial: Try to fool this MNIST model"
207
  description = """This project is about dynamic adversarial data collection (DADC).
208
- The basic idea is to do data collection by collecting “adversarial data”, the kind of data that is difficult for a model to predict correctly.
209
  This kind of data is presumably the most valuable for a model, so this can be helpful in low-resource settings where data is hard to collect and label.
210
 
211
  ### What to do:
@@ -216,9 +216,9 @@ def main():
216
  """
217
 
218
  MODEL_IS_WRONG = """
219
- > Did the model get it wrong? Choose the correct prediction below and flag it.
220
-
221
- When you flag it, the instance is saved to our dataset and the model is trained on it.
222
  """
223
  #block = gr.Blocks(css=BLOCK_CSS)
224
  block = gr.Blocks()
 
205
  def main():
206
  TITLE = "# MNIST Adversarial: Try to fool this MNIST model"
207
  description = """This project is about dynamic adversarial data collection (DADC).
208
+ The basic idea is to collect “adversarial data - the kind of data that is difficult for a model to predict correctly.
209
  This kind of data is presumably the most valuable for a model, so this can be helpful in low-resource settings where data is hard to collect and label.
210
 
211
  ### What to do:
 
216
  """
217
 
218
  MODEL_IS_WRONG = """
219
+ ---
220
+
221
+ > Did the model get it wrong? Choose the correct prediction below and flag it. When you flag it, the instance is saved to our dataset and the model is trained on it.
222
  """
223
  #block = gr.Blocks(css=BLOCK_CSS)
224
  block = gr.Blocks()