N4F1U commited on
Commit
3ca80d5
·
verified ·
1 Parent(s): 12c5434

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. app.py +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🎬
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: gradio
7
- sdk_version: 5.44.1
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(concurrency_count=2)
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()