File size: 1,091 Bytes
17bfa78
 
cce3967
 
 
17bfa78
 
 
 
 
b9e2c00
fa537b7
b9e2c00
 
 
fa537b7
ede89a8
 
 
a225cab
ede89a8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a225cab
ede89a8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
title: README
emoji: ❤️
colorFrom: red
colorTo: red
sdk: streamlit
app_file: app.py
pinned: false
---

<p class="lg:col-span-3">
	Hugging Face makes it easy to collaboratively build and showcase your <a
		href="https://keras.io">Keras</a
	>
	models!<br />
Feel free to join to organization to push your models and showcase them through 🤗 Spaces.
</p>
<div class="lg:col-span-3">
	<p class="mb-4">
		To upload your Keras models to the Hub, you can use the <a
			href="https://github.com/huggingface/huggingface_hub/blob/1f83ed230932128fba8bfe2a7f0c78df66e6e3ee/src/huggingface_hub/keras_mixin.py#L60"
			>push_to_hub_keras</a
		>
		library.
	</p>
	<div
		class="p-4 bg-gradient-to-b from-gray-50-to-white border border-gray-100 rounded-lg relative mb-4"
	>
		<pre
			class="break-words leading-1 whitespace-pre-line text-xs md:text-sm text-gray-800">
pip install huggingface-hub
!huggingface-cli login
from huggingface_hub.keras_mixin import push_to_hub_keras
push_to_hub_keras(model = model, repo_url = "https://huggingface.co/your-username/name-of-model")
	</pre>
	</div>

</div>