Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -141,7 +141,7 @@ def reset_recalc_directions():
|
|
| 141 |
|
| 142 |
# Five "Time Stream" themed examples (one Korean example included)
|
| 143 |
examples = [
|
| 144 |
-
["
|
| 145 |
["A blooming flower gradually withers into decay", "Bloom", "Wither", 1.5],
|
| 146 |
["A vibrant cityscape transforms into a derelict ruin over time", "Modern", "Ruined", 2.5],
|
| 147 |
["A lively forest slowly changes into an autumnal landscape", "Spring", "Autumn", 2.0],
|
|
@@ -197,6 +197,21 @@ with gr.Blocks(css=css, title="Time Stream") as demo: # remove show_api=False
|
|
| 197 |
# 여기에서 show_api=False를 추가해 Gradio의 OpenAPI 스키마 생성을 비활성화합니다.
|
| 198 |
|
| 199 |
gr.Markdown("# Time Stream")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 200 |
|
| 201 |
x_concept_1 = gr.State("")
|
| 202 |
x_concept_2 = gr.State("")
|
|
|
|
| 141 |
|
| 142 |
# Five "Time Stream" themed examples (one Korean example included)
|
| 143 |
examples = [
|
| 144 |
+
["A Tomato", "Fresh", "Rotten", 2.0],
|
| 145 |
["A blooming flower gradually withers into decay", "Bloom", "Wither", 1.5],
|
| 146 |
["A vibrant cityscape transforms into a derelict ruin over time", "Modern", "Ruined", 2.5],
|
| 147 |
["A lively forest slowly changes into an autumnal landscape", "Spring", "Autumn", 2.0],
|
|
|
|
| 197 |
# 여기에서 show_api=False를 추가해 Gradio의 OpenAPI 스키마 생성을 비활성화합니다.
|
| 198 |
|
| 199 |
gr.Markdown("# Time Stream")
|
| 200 |
+
|
| 201 |
+
gr.HTML(
|
| 202 |
+
"""
|
| 203 |
+
<div class='container' style='display:flex; justify-content:center; gap:12px;'>
|
| 204 |
+
<a href="https://huggingface.co/spaces/openfree/Best-AI" target="_blank">
|
| 205 |
+
<img src="https://img.shields.io/static/v1?label=OpenFree&message=BEST%20AI%20Services&color=%230000ff&labelColor=%23000080&logo=huggingface&logoColor=%23ffa500&style=for-the-badge" alt="OpenFree badge">
|
| 206 |
+
</a>
|
| 207 |
+
|
| 208 |
+
<a href="https://discord.gg/openfreeai" target="_blank">
|
| 209 |
+
<img src="https://img.shields.io/static/v1?label=Discord&message=Openfree%20AI&color=%230000ff&labelColor=%23800080&logo=discord&logoColor=white&style=for-the-badge" alt="Discord badge">
|
| 210 |
+
</a>
|
| 211 |
+
</div>
|
| 212 |
+
"""
|
| 213 |
+
)
|
| 214 |
+
|
| 215 |
|
| 216 |
x_concept_1 = gr.State("")
|
| 217 |
x_concept_2 = gr.State("")
|