zainali95 commited on
Commit
bf82a88
·
1 Parent(s): 235868e

change to see if it fix

Browse files
Files changed (4) hide show
  1. Dockerfile +0 -8
  2. README.md +27 -4
  3. app.py +1 -0
  4. requirements.txt +1 -4
Dockerfile DELETED
@@ -1,8 +0,0 @@
1
- FROM huggingface/transformers-pytorch-gpu:latest
2
-
3
- # Install system dependencies for sentencepiece
4
- RUN apt-get update && apt-get install -y libsentencepiece-dev pkg-config
5
-
6
- # Install Python dependencies
7
- COPY requirements.txt .
8
- RUN pip install -r requirements.txt
 
 
 
 
 
 
 
 
 
README.md CHANGED
@@ -4,11 +4,34 @@ emoji: 📊
4
  colorFrom: red
5
  colorTo: pink
6
  sdk: gradio
7
- sdk_version: 5.3.0
8
  app_file: app.py
9
  pinned: false
10
- license: apache-2.0
11
- short_description: test
12
  ---
13
 
14
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  colorFrom: red
5
  colorTo: pink
6
  sdk: gradio
 
7
  app_file: app.py
8
  pinned: false
 
 
9
  ---
10
 
11
+ # Configuration
12
+
13
+ `title`: _string_
14
+ Display title for the Space
15
+
16
+ `emoji`: _string_
17
+ Space emoji (emoji-only character allowed)
18
+
19
+ `colorFrom`: _string_
20
+ Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
21
+
22
+ `colorTo`: _string_
23
+ Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
24
+
25
+ `sdk`: _string_
26
+ Can be either `gradio` or `streamlit`
27
+
28
+ `sdk_version` : _string_
29
+ Only applicable for `streamlit` SDK.
30
+ See [doc](https://hf.co/docs/hub/spaces) for more info on supported versions.
31
+
32
+ `app_file`: _string_
33
+ Path to your main application file (which contains either `gradio` or `streamlit` Python code).
34
+ Path is relative to the root of the repository.
35
+
36
+ `pinned`: _boolean_
37
+ Whether the Space stays on top of your list.
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import gradio as gr
2
  from fastai.vision.all import *
 
3
 
4
 
5
  learn = load_learner('export.pkl')
 
1
  import gradio as gr
2
  from fastai.vision.all import *
3
+ import skimage
4
 
5
 
6
  learn = load_learner('export.pkl')
requirements.txt CHANGED
@@ -1,5 +1,2 @@
1
- fastbook
2
  fastai
3
- scikit-image
4
- gradio==3.50
5
- sentencepiece>=0.1.95
 
 
1
  fastai
2
+ scikit-image