Update app.py
Browse files
app.py
CHANGED
|
@@ -2,22 +2,8 @@ import gradio as gr
|
|
| 2 |
|
| 3 |
# Example texts
|
| 4 |
example_texts = {
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
Mia replied, "I started with a small table and a single pitcher. But then, I saved some of the money I earned to buy more pitchers and a bigger stand."
|
| 8 |
-
|
| 9 |
-
"That sounds like investing!" exclaimed Alex. "You used some of your earnings to grow your business."
|
| 10 |
-
|
| 11 |
-
"Yes," said Mia. "And I also asked my friends to join. Now, we have three lemonade stands in different parts of our town. We all share the profits."
|
| 12 |
-
|
| 13 |
-
Alex thought for a moment and then said, "I have some savings. Could I invest in your lemonade stand? I can help make it even bigger!"
|
| 14 |
-
|
| 15 |
-
Mia smiled. "Of course! With your investment, we can buy more supplies and maybe even start selling cookies and snacks along with the lemonade."
|
| 16 |
-
|
| 17 |
-
The investment was a success. The lemonade stands became more popular, and Mia and Alex started selling homemade cookies and snacks. They learned the importance of investing money wisely and working together to achieve bigger goals.
|
| 18 |
-
|
| 19 |
-
And so, Mia and Alex discovered the sweet taste of success, not just in their lemonade but in their smart investing and teamwork.',
|
| 20 |
-
"Nvidia Earnings": 'Q4 was another record quarter. Revenue of $22.1 billion was up 22% sequentially and up to 265% year-on-year and well above our outlook of $20 billion. For fiscal 2024, revenue was $60.9 billion and up 126% from the prior year. Starting with data center. Data center revenue for the fiscal 2024 year was $47.5 billion, more than tripling from the prior year. The world has reached the tipping point of new computing era. The $1 trillion installed base of data center infrastructure is rapidly transitioning from general purpose to accelerated computing. As Moore's Law slows while computing demand continues to skyrocket, companies may accelerate every workload possible to drive future improvement in performance, TCO and energy efficiency.'
|
| 21 |
}
|
| 22 |
|
| 23 |
|
|
|
|
| 2 |
|
| 3 |
# Example texts
|
| 4 |
example_texts = {
|
| 5 |
+
'Basic Text': 'Once in a small town, there was a lemonade stand run by a young girl named Mia. Her lemonade was famous for being the most refreshing drink on hot summer days. One day, her friend Alex asked, "How do you manage to sell so much lemonade?" Mia replied, "I started with a small table and a single pitcher. But then, I saved some of the money I earned to buy more pitchers and a bigger stand." "That sounds like investing!" exclaimed Alex. "You used some of your earnings to grow your business.',
|
| 6 |
+
'Nvidia Earnings': 'Q4 was another record quarter. Revenue of $22.1 billion was up 22% sequentially and up to 265% year-on-year and well above our outlook of $20 billion. For fiscal 2024, revenue was $60.9 billion and up 126% from the prior year. Starting with data center. Data center revenue for the fiscal 2024 year was $47.5 billion, more than tripling from the prior year. The world has reached the tipping point of new computing era. The $1 trillion installed base of data center infrastructure is rapidly transitioning from general purpose to accelerated computing. As Moore's Law slows while computing demand continues to skyrocket, companies may accelerate every workload possible to drive future improvement in performance, TCO and energy efficiency.'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
}
|
| 8 |
|
| 9 |
|