Skip to content

Commit b36a706

Browse files
authored
chore(deps): bump black (#79)
1 parent 501bea8 commit b36a706

4 files changed

Lines changed: 78 additions & 48 deletions

File tree

‎decart/realtime/messages.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from typing import Literal, Optional, Union, Annotated
22
from pydantic import BaseModel, Field, TypeAdapter
33

4-
54
# Incoming Messages (from server)
65

76

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ dev = [
5353
"pytest>=7.0.0",
5454
"pytest-asyncio>=0.21.0",
5555
"pytest-cov>=4.0.0",
56-
"black>=23.0.0",
56+
"black>=26.10.1",
5757
"ruff>=0.1.0",
5858
"mypy>=1.0.0",
5959
]
@@ -96,7 +96,7 @@ dev = [
9696
"pytest>=7.0.0",
9797
"pytest-asyncio>=0.21.0",
9898
"pytest-cov>=4.0.0",
99-
"black>=23.0.0",
99+
"black>=26.10.1",
100100
"ruff>=0.1.0",
101101
"mypy>=1.0.0",
102102
]

‎test_ui.py‎

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,12 @@ def create_ui():
209209
.status-error { color: red; }
210210
""",
211211
) as demo:
212-
gr.Markdown(
213-
"""
212+
gr.Markdown("""
214213
# Decart SDK Test UI
215214
216215
Interactive testing interface for the Decart Python SDK.
217216
Enter your API key below to get started.
218-
"""
219-
)
217+
""")
220218

221219
# API Key input (shared across all tabs)
222220
api_key = gr.Textbox(
@@ -291,15 +289,13 @@ def create_ui():
291289
# Video Restyle Tab (NEW - with reference image support)
292290
# ================================================================
293291
with gr.TabItem("Video Restyle (NEW)"):
294-
gr.Markdown(
295-
"""
292+
gr.Markdown("""
296293
### Video Restyle with Prompt OR Reference Image
297294
298295
This model supports two modes:
299296
- **Text Prompt**: Describe the style you want
300297
- **Reference Image**: Upload an image to use as style reference
301-
"""
302-
)
298+
""")
303299

304300
with gr.Row():
305301
with gr.Column():
@@ -363,14 +359,12 @@ def toggle_mode(use_ref):
363359
# Tokens Tab
364360
# ================================================================
365361
with gr.TabItem("Tokens"):
366-
gr.Markdown(
367-
"""
362+
gr.Markdown("""
368363
### Create Client Token
369364
370365
Create a short-lived token for client-side use.
371366
These tokens are meant for temporary access and expire automatically.
372-
"""
373-
)
367+
""")
374368

375369
with gr.Row():
376370
with gr.Column():
@@ -388,13 +382,11 @@ def toggle_mode(use_ref):
388382
outputs=[token_output],
389383
)
390384

391-
gr.Markdown(
392-
"""
385+
gr.Markdown("""
393386
---
394387
**Note**: This UI uses the Decart Python SDK.
395388
For realtime/WebRTC features, use the example scripts in `examples/`.
396-
"""
397-
)
389+
""")
398390

399391
return demo
400392

0 commit comments

Comments
 (0)