Spaces:
Sleeping
Sleeping
Genis
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -25,9 +25,9 @@ This space is intended to give high level tools so everyone can make his own ima
|
|
25 |
- img_folder/dog/image_of_dog_4.jpeg \n
|
26 |
I recommend around 5 images per class. \n
|
27 |
2. Right click in the folder and press "compress..." in ".zip" mode. This will create you a zip file. \n
|
28 |
-
3. Upload the file on
|
29 |
-
4.
|
30 |
-
5.
|
31 |
|
32 |
---
|
33 |
"""
|
@@ -125,9 +125,9 @@ with gr.Blocks() as demo:
|
|
125 |
|
126 |
with gr.Row() as g3:
|
127 |
inp3 = gr.Textbox(label='Password to Download')
|
128 |
-
out3 = gr.File(label='Download link', visible=True, height=30, interactive=False)
|
129 |
-
out4 = gr.File(label='Download link', visible=True, height=30, interactive=False)
|
130 |
-
out5 = gr.File(label='Download link', visible=True, height=30, interactive=False)
|
131 |
btn3 = gr.Button("Export Fitted Model")
|
132 |
btn3.click(fn=export, inputs=inp3, outputs=[out3, out3, out4, out4, out5, out5])
|
133 |
gr.Markdown(markdown_tail)
|
|
|
25 |
- img_folder/dog/image_of_dog_4.jpeg \n
|
26 |
I recommend around 5 images per class. \n
|
27 |
2. Right click in the folder and press "compress..." in ".zip" mode. This will create you a zip file. \n
|
28 |
+
3. Upload the zip file on this space and press "Sumbit Zip File" button. \n
|
29 |
+
4. Congratulations you already have the model. Try it by uploading some images on 'input image' and press "Predict/Test on an image". \n
|
30 |
+
5. Do you want to export the model to use It outside this space? You will need a password. Check the information at the bottom ⬇️
|
31 |
|
32 |
---
|
33 |
"""
|
|
|
125 |
|
126 |
with gr.Row() as g3:
|
127 |
inp3 = gr.Textbox(label='Password to Download')
|
128 |
+
out3 = gr.File(label='Model Download link', visible=True, height=30, interactive=False)
|
129 |
+
out4 = gr.File(label='Requirements Download link', visible=True, height=30, interactive=False)
|
130 |
+
out5 = gr.File(label='ModelCreator.py Download link', visible=True, height=30, interactive=False)
|
131 |
btn3 = gr.Button("Export Fitted Model")
|
132 |
btn3.click(fn=export, inputs=inp3, outputs=[out3, out3, out4, out4, out5, out5])
|
133 |
gr.Markdown(markdown_tail)
|