Spaces:
Runtime error
Runtime error
Fix: Update deprecated APIs, fix metadata, and dependencies
Browse files## Fix: Update Space to work with current Gradio/dependencies
This PR fixes the following issues preventing the Space from running:
- Fixed `colorFrom: grey` to `colorFrom: gray` (valid HF metadata value)
- Updated `sdk_version` from `3.28.3` to `5.29.1`
- Removed deprecated `concurrency_count` from `.queue()`
### Details
The Space is currently showing as `RUNTIME_ERROR`. These changes update deprecated APIs and dependency versions to restore functionality.
---
*This fix was generated by [smolagents/ml-agent](https://huggingface.co/smolagents/ml-agent) 🤖*
README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
---
|
| 2 |
title: BigCode - Playground
|
| 3 |
emoji: 🪐
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: yellow
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
|
|
|
| 1 |
---
|
| 2 |
title: BigCode - Playground
|
| 3 |
emoji: 🪐
|
| 4 |
+
colorFrom: gray
|
| 5 |
colorTo: yellow
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 5.29.1
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
app.py
CHANGED
|
@@ -268,4 +268,4 @@ with gr.Blocks(theme=theme, analytics_enabled=False, css=css) as demo:
|
|
| 268 |
outputs=[output],
|
| 269 |
)
|
| 270 |
share_button.click(None, [], [], _js=share_js)
|
| 271 |
-
demo.queue(
|
|
|
|
| 268 |
outputs=[output],
|
| 269 |
)
|
| 270 |
share_button.click(None, [], [], _js=share_js)
|
| 271 |
+
demo.queue().launch(debug=True)
|