Spaces:
Sleeping
Sleeping
Commit
·
6b31626
1
Parent(s):
932fe87
Clean: Remove test file
Browse files- test_hf.py +0 -18
test_hf.py
DELETED
|
@@ -1,18 +0,0 @@
|
|
| 1 |
-
#!/usr/bin/env python3
|
| 2 |
-
"""
|
| 3 |
-
Simple test to verify Hugging Face Spaces compatibility
|
| 4 |
-
"""
|
| 5 |
-
import gradio as gr
|
| 6 |
-
|
| 7 |
-
def test_function():
|
| 8 |
-
return "✅ Hugging Face Space is working!"
|
| 9 |
-
|
| 10 |
-
# Simple test interface
|
| 11 |
-
with gr.Blocks(title="Test Interface") as test_app:
|
| 12 |
-
gr.Markdown("# 🧪 Test Interface")
|
| 13 |
-
test_btn = gr.Button("Test")
|
| 14 |
-
output = gr.Textbox()
|
| 15 |
-
test_btn.click(test_function, outputs=output)
|
| 16 |
-
|
| 17 |
-
if __name__ == "__main__":
|
| 18 |
-
test_app.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|