Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 🎬
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
|
@@ -19,4 +19,4 @@ Enter a review and the app returns probabilities for **negative** and **positive
|
|
| 19 |
- Run the sequence through the fine-tuned model
|
| 20 |
- Apply softmax and display per-class probabilities
|
| 21 |
|
| 22 |
-
Model files are bundled in this Space under `roberta-imdb-finetuned/`.
|
|
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: "4.0.0"
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
|
|
|
| 19 |
- Run the sequence through the fine-tuned model
|
| 20 |
- Apply softmax and display per-class probabilities
|
| 21 |
|
| 22 |
+
Model files are bundled in this Space under `roberta-imdb-finetuned/`.
|
app.py
CHANGED
|
@@ -52,7 +52,7 @@ demo = gr.Interface(
|
|
| 52 |
)
|
| 53 |
|
| 54 |
# Queuing helps with concurrent requests on free CPU Spaces
|
| 55 |
-
demo.queue(
|
| 56 |
|
| 57 |
if __name__ == "__main__":
|
| 58 |
demo.launch()
|
|
|
|
| 52 |
)
|
| 53 |
|
| 54 |
# Queuing helps with concurrent requests on free CPU Spaces
|
| 55 |
+
demo.queue()
|
| 56 |
|
| 57 |
if __name__ == "__main__":
|
| 58 |
demo.launch()
|