davidberenstein1957 commited on
Commit
975aae7
·
1 Parent(s): 83c9fd8

Update app.py to enhance the "About" section with new branding for Pruna AI, improve content clarity, and add an example image link. Reintroduce the citation section within an accordion for better organization.

Browse files
Files changed (1) hide show
  1. app.py +33 -15
app.py CHANGED
@@ -53,26 +53,31 @@ with gr.Blocks("ParityError/Interstellar") as demo:
53
  select_columns=df.columns.tolist(),
54
  datatype="markdown",
55
  )
56
- with gr.Accordion("Citation", open=True):
57
- gr.Markdown(
58
- """
59
- ```bibtex
60
- @article{InfraBench,
61
- title={InfraBench: A Leaderboard for Inference Providers},
62
- author={PrunaAI},
63
- year={2025},
64
- howpublished={\\url{https://huggingface.co/spaces/PrunaAI/InferBench}}
65
- }
66
- ```
67
- """
68
- )
69
  with gr.TabItem("About"):
70
  gr.Markdown(
71
  """
72
- # About InfraBench
 
 
 
73
  InfraBench is a leaderboard for inference providers, focusing on cost, quality, and compression.
 
 
 
 
 
 
 
 
 
 
74
 
75
- <h1>🌍 Join the Pruna AI community!</h1>
 
 
 
 
 
76
  <p><a rel="nofollow" href="https://twitter.com/PrunaAI"><img alt="Twitter" src="https://img.shields.io/twitter/follow/PrunaAI?style=social"></a>
77
  <a rel="nofollow" href="https://github.com/PrunaAI/pruna"><img alt="GitHub" src="https://img.shields.io/github/stars/prunaai/pruna"></a>
78
  <a rel="nofollow" href="https://www.linkedin.com/company/93832878/admin/feed/posts/?feedType=following"><img alt="LinkedIn" src="https://img.shields.io/badge/LinkedIn-Connect-blue"></a>
@@ -80,6 +85,19 @@ with gr.Blocks("ParityError/Interstellar") as demo:
80
  <a rel="nofollow" href="https://www.reddit.com/r/PrunaAI/"><img alt="Reddit" src="https://img.shields.io/reddit/subreddit-subscribers/PrunaAI?style=social"></a></p>
81
  """
82
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
83
 
84
  if __name__ == "__main__":
85
  demo.launch()
 
53
  select_columns=df.columns.tolist(),
54
  datatype="markdown",
55
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  with gr.TabItem("About"):
57
  gr.Markdown(
58
  """
59
+ # 💜 About Pruna AI
60
+ We are Pruna AI, an open source AI optimisation engine and we simply make your models cheaper, faster, smaller, greener!
61
+
62
+ # 📊 About InfraBench
63
  InfraBench is a leaderboard for inference providers, focusing on cost, quality, and compression.
64
+ Over the past few years, we’ve observed outstanding progress in image generation models fueled by ever-larger architectures.
65
+ Due to their size, state-of-the-art models such as FLUX take more than 6 seconds to generate a single image on a high-end H100 GPU.
66
+ While compression techniques can reduce inference time, their impact on quality often remains unclear.
67
+
68
+ <a href="https://example.com/path/to/your/image.jpg" target="_blank">Example Image</a>
69
+
70
+ To bring more transparency around the quality of compressed models:
71
+
72
+ - We release “juiced” endpoints for popular image generation models on Replicate, making it easy to play around with our compressed models.
73
+ - We assess the quality of compressed FLUX-APIs from Replicate, fal, Fireworks AI and Together AI according to different benchmarks.
74
 
75
+ <a href="https://example.com/path/to/your/image.jpg" target="_blank">Example Image</a>
76
+
77
+ FLUX-juiced was obtained using a combination of compilation and caching algorithms and we are proud to say that it consistently outperforms alternatives, while delivering performance on par with the original model.
78
+ This combination is available in our Pruna Pro package and can be applied to almost every image generation model.
79
+
80
+ # 🌍 Join the Pruna AI community!
81
  <p><a rel="nofollow" href="https://twitter.com/PrunaAI"><img alt="Twitter" src="https://img.shields.io/twitter/follow/PrunaAI?style=social"></a>
82
  <a rel="nofollow" href="https://github.com/PrunaAI/pruna"><img alt="GitHub" src="https://img.shields.io/github/stars/prunaai/pruna"></a>
83
  <a rel="nofollow" href="https://www.linkedin.com/company/93832878/admin/feed/posts/?feedType=following"><img alt="LinkedIn" src="https://img.shields.io/badge/LinkedIn-Connect-blue"></a>
 
85
  <a rel="nofollow" href="https://www.reddit.com/r/PrunaAI/"><img alt="Reddit" src="https://img.shields.io/reddit/subreddit-subscribers/PrunaAI?style=social"></a></p>
86
  """
87
  )
88
+ with gr.Accordion("Citation", open=True):
89
+ gr.Markdown(
90
+ """
91
+ ```bibtex
92
+ @article{InfraBench,
93
+ title={InfraBench: A Leaderboard for Inference Providers},
94
+ author={PrunaAI},
95
+ year={2025},
96
+ howpublished={\\url{https://huggingface.co/spaces/PrunaAI/InferBench}}
97
+ }
98
+ ```
99
+ """
100
+ )
101
 
102
  if __name__ == "__main__":
103
  demo.launch()