Wauplin HF staff commited on
Commit
72cbf19
1 Parent(s): 1341004

Update space.py

Browse files
Files changed (1) hide show
  1. space.py +10 -0
space.py CHANGED
@@ -103,6 +103,16 @@ with gr.Blocks() as demo:
103
  btn = gr.Button("Run process")
104
  btn.click(fn_process, outputs=logs)
105
  ```
 
 
 
 
 
 
 
 
 
 
106
  """
107
 
108
  with gr.Blocks() as demo:
 
103
  btn = gr.Button("Run process")
104
  btn.click(fn_process, outputs=logs)
105
  ```
106
+
107
+ ## TODO
108
+
109
+ - [ ] display logs with colors (front-end)
110
+ - [ ] format logs client-side (front-end)
111
+ - [ ] scrollable logs if more than N lines (front-end)
112
+ - [ ] format each log only once (front-end)
113
+ - [ ] stop process if `run_process` gets cancelled (back-end)
114
+ - [ ] correctly pass error stacktrace in `run_thread` (back-end)
115
+ - [ ] disable interactivity + remove all code editing logic (both?)
116
  """
117
 
118
  with gr.Blocks() as demo: