Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -389,13 +389,16 @@ def replay_diffusion(frames, replay_speed):
|
|
| 389 |
time.sleep(delay)
|
| 390 |
|
| 391 |
# Define the Gradio UI
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 392 |
with gr.Blocks(theme=gr.themes.Citrus()) as demo:
|
| 393 |
gr.Markdown(
|
| 394 |
"""
|
| 395 |
# The Annotated Discrete Diffusion Models
|
| 396 |
-
|
| 397 |
-
## Tiny 7.23M parameters Shakespeare character diffusion model by [Ashwani Kumar](https://x.com/ash_at_tt/status/1977376958859092250)
|
| 398 |
-
|
| 399 |
[GitHub](https://github.com/ash80/diffusion-gpt), [Colab](https://colab.research.google.com/github/ash80/diffusion-gpt/blob/master/The_Annotated_Discrete_Diffusion_Models.ipynb)
|
| 400 |
"""
|
| 401 |
)
|
|
|
|
| 389 |
time.sleep(delay)
|
| 390 |
|
| 391 |
# Define the Gradio UI
|
| 392 |
+
css = '''
|
| 393 |
+
.gradio-container > .fillable {
|
| 394 |
+
max-width: 720px !important
|
| 395 |
+
}
|
| 396 |
+
'''
|
| 397 |
with gr.Blocks(theme=gr.themes.Citrus()) as demo:
|
| 398 |
gr.Markdown(
|
| 399 |
"""
|
| 400 |
# The Annotated Discrete Diffusion Models
|
| 401 |
+
### Tiny 7.23M parameters Shakespeare character diffusion model by [Ashwani Kumar](https://x.com/ash_at_tt/status/1977376958859092250)
|
|
|
|
|
|
|
| 402 |
[GitHub](https://github.com/ash80/diffusion-gpt), [Colab](https://colab.research.google.com/github/ash80/diffusion-gpt/blob/master/The_Annotated_Discrete_Diffusion_Models.ipynb)
|
| 403 |
"""
|
| 404 |
)
|