Spaces:
Runtime error
Runtime error
Commit
•
d36add3
1
Parent(s):
16c1b5a
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ import uuid
|
|
13 |
import subprocess
|
14 |
subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
15 |
|
16 |
-
is_canonical = True if os.environ.get("SPACE_ID") == "
|
17 |
|
18 |
# Constants
|
19 |
MODEL_PATH = "pyramid-flow-model"
|
@@ -122,7 +122,7 @@ with gr.Blocks() as demo:
|
|
122 |
gr.HTML("""
|
123 |
<div style="display: flex; flex-direction: column;justify-content: center; align-items: center; text-align: center;">
|
124 |
<p style="display: flex;gap: 6px;">
|
125 |
-
<a href="https://huggingface.co/spaces/
|
126 |
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-lg.svg" alt="Duplicate this Space">
|
127 |
</a>
|
128 |
</p>
|
|
|
13 |
import subprocess
|
14 |
subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
15 |
|
16 |
+
is_canonical = True if os.environ.get("SPACE_ID") == "Pyramid-Flow/pyramid-flow" else False
|
17 |
|
18 |
# Constants
|
19 |
MODEL_PATH = "pyramid-flow-model"
|
|
|
122 |
gr.HTML("""
|
123 |
<div style="display: flex; flex-direction: column;justify-content: center; align-items: center; text-align: center;">
|
124 |
<p style="display: flex;gap: 6px;">
|
125 |
+
<a href="https://huggingface.co/spaces/Pyramid-Flow/pyramid-flow?duplicate=true">
|
126 |
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-lg.svg" alt="Duplicate this Space">
|
127 |
</a>
|
128 |
</p>
|