eogreen commited on
Commit
dfa8bc0
1 Parent(s): 740344c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -24,17 +24,17 @@ scheduler = CommitScheduler(
24
  every=2
25
  )
26
 
27
- def dprocess(command, p2):
28
  print('foo...')
29
  with scheduler.lock:
30
  with log_file.open("a") as f:
31
  f.write(json.dumps(
32
  {
33
- 'result': 42
 
34
  }
35
  ))
36
- f.write('\n')
37
-
38
  return 42
39
 
40
  # Set-up the Gradio UI
 
24
  every=2
25
  )
26
 
27
+ def dprocess(command, ddddd):
28
  print('foo...')
29
  with scheduler.lock:
30
  with log_file.open("a") as f:
31
  f.write(json.dumps(
32
  {
33
+ 'p1': 'foo',
34
+ 'p2': 100
35
  }
36
  ))
37
+ f.write("\n")
 
38
  return 42
39
 
40
  # Set-up the Gradio UI