Meloo commited on
Commit
6f1b921
1 Parent(s): f0dd1d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +53 -5
app.py CHANGED
@@ -1,3 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import os
2
  import cv2
3
  import argparse
@@ -218,10 +265,11 @@ demo = gr.Interface(
218
  type="pil",
219
  show_download_button=True,
220
  ),
221
- gr.Image(
222
- label="Download Output",
223
- type='filepath',
224
- ),
 
225
  ],
226
  title=title,
227
  description=description,
@@ -232,4 +280,4 @@ demo = gr.Interface(
232
 
233
 
234
  if __name__ == "__main__":
235
- demo.launch()
 
1
+ Hugging Face's logo
2
+ Hugging Face
3
+ Search models, datasets, users...
4
+ Models
5
+ Datasets
6
+ Spaces
7
+ Posts
8
+ Docs
9
+ Solutions
10
+ Pricing
11
+
12
+
13
+
14
+ Spaces:
15
+
16
+ Meloo
17
+ /
18
+ SAFMN
19
+
20
+
21
+ like
22
+ 2
23
+
24
+ Logs
25
+ App
26
+ Files
27
+ Community
28
+ Settings
29
+ SAFMN
30
+ /
31
+ app.py
32
+
33
+ Meloo's picture
34
+ Meloo
35
+ Update app.py
36
+ f0dd1d3
37
+ verified
38
+ 15 days ago
39
+ raw
40
+
41
+ Copy download link
42
+ history
43
+ blame
44
+ edit
45
+ delete
46
+
47
+ 7.32 kB
48
  import os
49
  import cv2
50
  import argparse
 
265
  type="pil",
266
  show_download_button=True,
267
  ),
268
+ gr.File(label="Download Output")
269
+ # gr.Image(
270
+ # label="Download Output",
271
+ # type='filepath',
272
+ # ),
273
  ],
274
  title=title,
275
  description=description,
 
280
 
281
 
282
  if __name__ == "__main__":
283
+ demo.launch()