[style] README.mdのイメージサイズ調整
Browse files詳細な説明:
- プロジェクトのメインイメージのサイズを100%から50%に調整し、ページの見た目を改善しました。
[chore] Hugging Face Spacesのリンク先更新
詳細な説明:
- Hugging Face SpacesのリンクをOFA-Sys/OFA-Image_CaptionからMakiAi/CodeLumiaに更新しました。これにより、プロジェクトの最新のスペースにアクセスがリダイレクトされます。
[feat] 新しいStreamlitデモファイルの追加
詳細な説明:
- `app.py` を新規作成し、Streamlitを用いたインタラクティブなデモを追加しました。このデモにはスライダーを用いた数値の二乗計算が含まれています。
README.md
CHANGED
@@ -12,13 +12,13 @@ license: mit
|
|
12 |
|
13 |
|
14 |
<p align="center">
|
15 |
-
<img src="https://media.githubusercontent.com/media/Sunwood-ai-labs/CodeLumia/main/docs/CodeLumia_icon.png" width="
|
16 |
<br>
|
17 |
<h1 align="center">CodeLumia</h1>
|
18 |
<h3 align="center">
|
19 |
~Learn to Code, Step by Step~
|
20 |
|
21 |
-
[](https://huggingface.co/spaces/
|
22 |
|
23 |
</h3>
|
24 |
|
|
|
12 |
|
13 |
|
14 |
<p align="center">
|
15 |
+
<img src="https://media.githubusercontent.com/media/Sunwood-ai-labs/CodeLumia/main/docs/CodeLumia_icon.png" width="50%">
|
16 |
<br>
|
17 |
<h1 align="center">CodeLumia</h1>
|
18 |
<h3 align="center">
|
19 |
~Learn to Code, Step by Step~
|
20 |
|
21 |
+
[](https://huggingface.co/spaces/MakiAi/CodeLumia)[](https://github.com/Sunwood-ai-labs/CodeLumia)[](https://github.com/Sunwood-ai-labs/CodeLumia)[](https://github.com/Sunwood-ai-labs/CodeLumia)
|
22 |
|
23 |
</h3>
|
24 |
|
app.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# sample code
|
2 |
+
|
3 |
+
import streamlit as st
|
4 |
+
|
5 |
+
x = st.slider('Select a value')
|
6 |
+
st.write(x, 'squared is', x * x)
|