oxkitsune commited on
Commit
9009886
·
1 Parent(s): 1dc9aa9

Install from wheel

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ gradio_rerun-0.23.0a2-py3-none-any.whl filter=lfs diff=lfs merge=lfs -text
37
+ gradio_rerun-0.23.0a2.tar.gz filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -177,28 +177,28 @@ with gr.Blocks() as demo:
177
  },
178
  )
179
 
180
- # # We make a new recording id, and store it in a Gradio's session state.
181
- # recording_id = gr.State(uuid.uuid4())
182
-
183
- # # Also store the current timeline and time of the viewer in the session state.
184
- # current_timeline = gr.State("")
185
- # current_time = gr.State(0.0)
186
-
187
- # # When registering the event listeners, we pass the `recording_id` in as input in order to create
188
- # # a recording stream using that id.
189
- # stream_blur.click(
190
- # # Using the `viewer` as an output allows us to stream data to it by yielding bytes from the callback.
191
- # streaming_repeated_blur,
192
- # inputs=[recording_id, img],
193
- # outputs=[viewer],
194
- # )
195
- # viewer.selection_change(
196
- # register_keypoint,
197
- # inputs=[recording_id, current_timeline, current_time],
198
- # outputs=[viewer],
199
- # )
200
- # viewer.time_update(track_current_time, outputs=[current_time])
201
- # viewer.timeline_change(track_current_timeline_and_time, outputs=[current_timeline, current_time])
202
 
203
 
204
  if __name__ == "__main__":
 
177
  },
178
  )
179
 
180
+ # We make a new recording id, and store it in a Gradio's session state.
181
+ recording_id = gr.State(uuid.uuid4())
182
+
183
+ # Also store the current timeline and time of the viewer in the session state.
184
+ current_timeline = gr.State("")
185
+ current_time = gr.State(0.0)
186
+
187
+ # When registering the event listeners, we pass the `recording_id` in as input in order to create
188
+ # a recording stream using that id.
189
+ stream_blur.click(
190
+ # Using the `viewer` as an output allows us to stream data to it by yielding bytes from the callback.
191
+ streaming_repeated_blur,
192
+ inputs=[recording_id, img],
193
+ outputs=[viewer],
194
+ )
195
+ viewer.selection_change(
196
+ register_keypoint,
197
+ inputs=[recording_id, current_timeline, current_time],
198
+ outputs=[viewer],
199
+ )
200
+ viewer.time_update(track_current_time, outputs=[current_time])
201
+ viewer.timeline_change(track_current_timeline_and_time, outputs=[current_timeline, current_time])
202
 
203
 
204
  if __name__ == "__main__":
gradio_rerun-0.23.0a2-py3-none-any.whl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:582f9615de6f4e464fdbbb70e2281c247fa3d8b9a451ea0e3f9bfa1565d4b687
3
+ size 14974145
gradio_rerun-0.23.0a2.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d814b1272f10309a28343c2fb4c4d4ab4631c3550d5370b7606ef0edd2121552
3
+ size 55795884
requirements.txt CHANGED
@@ -11,9 +11,8 @@ Authlib==1.5.2
11
  certifi==2025.1.31
12
  cffi==1.17.1
13
  charset-normalizer==3.4.1
14
- click==8.0.4
15
  cryptography==44.0.2
16
- datasets==3.4.1
17
  decorator==5.2.1
18
  dill==0.3.8
19
  exceptiongroup==1.2.2
@@ -22,16 +21,16 @@ fastapi==0.115.12
22
  ffmpy==0.5.0
23
  filelock==3.18.0
24
  frozenlist==1.5.0
25
- fsspec==2024.12.0
26
  gradio==5.25.0
27
  gradio_client==1.8.0
28
- gradio_rerun @ git+https://github.com/rerun-io/gradio-rerun-viewer.git@fc12122ce29473feaa2c722530d8ba35aa2dbdd3
29
  groovy==0.1.2
30
  h11==0.14.0
31
  hf_transfer==0.1.9
32
  httpcore==1.0.8
33
  httpx==0.28.1
34
- huggingface-hub==0.29.3
35
  idna==3.10
36
  ipython==8.35.0
37
  itsdangerous==2.2.0
@@ -64,7 +63,7 @@ packaging==24.2
64
  pandas==2.2.3
65
  parso==0.8.4
66
  pexpect==4.9.0
67
- pillow==11.1.0
68
  prompt_toolkit==3.0.50
69
  propcache==0.3.1
70
  protobuf==3.20.3
@@ -92,7 +91,7 @@ six==1.17.0
92
  sniffio==1.3.1
93
  spaces==0.34.2
94
  stack-data==0.6.3
95
- starlette==0.46.1
96
  sympy==1.13.1
97
  tomlkit==0.13.2
98
  torch==2.5.1
@@ -101,10 +100,10 @@ traitlets==5.14.3
101
  triton==3.1.0
102
  typer==0.15.2
103
  typing-inspection==0.4.0
104
- typing_extensions==4.13.0
105
  tzdata==2025.2
106
- urllib3==2.3.0
107
- uvicorn==0.34.0
108
  wcwidth==0.2.13
109
  websockets==15.0.1
110
  xxhash==3.5.0
 
11
  certifi==2025.1.31
12
  cffi==1.17.1
13
  charset-normalizer==3.4.1
14
+ click==8.1.8
15
  cryptography==44.0.2
 
16
  decorator==5.2.1
17
  dill==0.3.8
18
  exceptiongroup==1.2.2
 
21
  ffmpy==0.5.0
22
  filelock==3.18.0
23
  frozenlist==1.5.0
24
+ fsspec==2025.3.2
25
  gradio==5.25.0
26
  gradio_client==1.8.0
27
+ gradio_rerun @ file:///home/user/app/gradio_rerun-0.23.0a2-py3-none-any.whl#sha256=582f9615de6f4e464fdbbb70e2281c247fa3d8b9a451ea0e3f9bfa1565d4b687
28
  groovy==0.1.2
29
  h11==0.14.0
30
  hf_transfer==0.1.9
31
  httpcore==1.0.8
32
  httpx==0.28.1
33
+ huggingface-hub==0.30.2
34
  idna==3.10
35
  ipython==8.35.0
36
  itsdangerous==2.2.0
 
63
  pandas==2.2.3
64
  parso==0.8.4
65
  pexpect==4.9.0
66
+ pillow==11.2.1
67
  prompt_toolkit==3.0.50
68
  propcache==0.3.1
69
  protobuf==3.20.3
 
91
  sniffio==1.3.1
92
  spaces==0.34.2
93
  stack-data==0.6.3
94
+ starlette==0.46.2
95
  sympy==1.13.1
96
  tomlkit==0.13.2
97
  torch==2.5.1
 
100
  triton==3.1.0
101
  typer==0.15.2
102
  typing-inspection==0.4.0
103
+ typing_extensions==4.13.2
104
  tzdata==2025.2
105
+ urllib3==2.4.0
106
+ uvicorn==0.34.1
107
  wcwidth==0.2.13
108
  websockets==15.0.1
109
  xxhash==3.5.0