Skip to content

Commit 0fb5733

Browse files
committed
app demo with api access from python and javascript
1 parent 79ccc19 commit 0fb5733

3 files changed

Lines changed: 50 additions & 0 deletions

File tree

content/workshops/ai/translate-hugging-face/_index.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,60 @@ margin = 0.1
2020

2121
---
2222

23+
{{% section %}}
24+
2325
### What is Hugging Face?
2426

2527
One stop shop for all AI tasks simplified:
2628

2729
{{% figure src="/softdev2-resources/images/ai/hugging-face-home-screenshot_20250315.png" height="500"
2830
style="" %}}
2931

32+
---
33+
34+
Crowd-sourced resources:
35+
36+
- **Models**: AI models ready to download and use.
37+
- **Datasets**: Download training/testing datasets for building models.
38+
- **Spaces**: Cloud-hosted AI apps, ready to use.
39+
40+
{{% figure src="/softdev2-resources/images/ai/hugging-face-home-screenshot_20250315.png" height="500"
41+
style="" %}}
42+
43+
{{% /section %}}
44+
45+
---
46+
47+
{{% section %}}
48+
49+
### A English-to-Spanish Translator App on HF
50+
51+
https://huggingface.co/spaces/gradio-tests/english_to_spanish
52+
53+
<iframe
54+
src="https://gradio-tests-english-to-spanish.hf.space"
55+
frameborder="0"
56+
width="850"
57+
height="450"
58+
></iframe>
59+
60+
---
61+
62+
### Use this app from a new Python program!
63+
64+
Click on "Use via API" to get Python code.
65+
66+
{{% figure src="/softdev2-resources/images/ai/hugging-face-translate-api-screenshot_20250315.png" height="500"
67+
style="" %}}
68+
69+
---
70+
71+
### Or create a new Javascript program!
72+
73+
Select Javascript.
74+
75+
{{% figure src="/softdev2-resources/images/ai/hugging-face-translate-api-javascript.png" height="500"
76+
style="" %}}
77+
78+
79+
{{% /section %}}
122 KB
Loading
115 KB
Loading

0 commit comments

Comments
 (0)