Spaces:
Sleeping
Sleeping
�� CRITICAL FIX: Correct requirements.txt
Browse filesPROBLEM SOLVED:
- requirements.txt contained Python code instead of dependencies
- Fixed to contain only: gradio==4.44.0
- This should resolve build error immediately
STATUS: Ready for successful build
- requirements.txt +1 -37
requirements.txt
CHANGED
|
@@ -1,37 +1 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
def hello():
|
| 4 |
-
return "🚀 ASI V2.5 Live Demo - 2.44x Speedup Validated!"
|
| 5 |
-
|
| 6 |
-
def show_results():
|
| 7 |
-
return """# 🏆 ASI V2.5 Performance Results
|
| 8 |
-
|
| 9 |
-
## Official Metrics ✅
|
| 10 |
-
- **Best Speedup**: 2.44x
|
| 11 |
-
- **Layer Coverage**: 91.7%
|
| 12 |
-
- **Architecture**: Longformer-base-4096
|
| 13 |
-
- **Throughput**: 18,097 tokens/sec
|
| 14 |
-
|
| 15 |
-
## Status
|
| 16 |
-
✅ **Validated Performance**
|
| 17 |
-
✅ **Production Ready**
|
| 18 |
-
✅ **Apple Silicon Optimized**
|
| 19 |
-
|
| 20 |
-
## Installation
|
| 21 |
-
```bash
|
| 22 |
-
pip install git+https://github.com/khopilot/asi-v25-longformer-core.git
|
| 23 |
-
```
|
| 24 |
-
"""
|
| 25 |
-
|
| 26 |
-
with gr.Blocks(title="ASI V2.5 Demo") as app:
|
| 27 |
-
gr.HTML("<h1>🚀 ASI V2.5: Ultra-Professional Linear Attention</h1>")
|
| 28 |
-
|
| 29 |
-
with gr.Tab("🔥 Demo"):
|
| 30 |
-
btn = gr.Button("🚀 Test ASI", variant="primary")
|
| 31 |
-
output = gr.Textbox(label="Status")
|
| 32 |
-
btn.click(hello, outputs=output)
|
| 33 |
-
|
| 34 |
-
with gr.Tab("🏆 Results"):
|
| 35 |
-
gr.Markdown(show_results())
|
| 36 |
-
|
| 37 |
-
app.launch()
|
|
|
|
| 1 |
+
gradio==4.44.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|