Geraldine commited on
Commit
5d2ff53
1 Parent(s): a6b8f61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -53,7 +53,7 @@ dict_hg_tasks = {
53
 
54
  dict_hg_tasks_params = {
55
  "automatic_speech_recognition": {
56
- "input": "upload",
57
  "output": "text",
58
  "prompt": False,
59
  "context": False
@@ -65,19 +65,19 @@ dict_hg_tasks_params = {
65
  "context": False
66
  },
67
  "image_classification": {
68
- "input": "upload",
69
  "output": "image,text",
70
  "prompt": False,
71
  "context": False
72
  },
73
  "image_segmentation": {
74
- "input": "upload",
75
  "output": "image,text",
76
  "prompt": False,
77
  "context": False
78
  },
79
  "object_detection": {
80
- "input": "upload",
81
  "output": "image,text",
82
  "prompt": False,
83
  "context": False
@@ -89,13 +89,13 @@ dict_hg_tasks_params = {
89
  "context": False
90
  },
91
  "visual_question_answering": {
92
- "input": "upload",
93
  "output": "image,text",
94
  "prompt": True,
95
  "context": False
96
  },
97
  "image_to_image": {
98
- "input": "upload",
99
  "output": "image,text",
100
  "prompt": True,
101
  "context": False
 
53
 
54
  dict_hg_tasks_params = {
55
  "automatic_speech_recognition": {
56
+ "input": "upload,url",
57
  "output": "text",
58
  "prompt": False,
59
  "context": False
 
65
  "context": False
66
  },
67
  "image_classification": {
68
+ "input": "upload,url",
69
  "output": "image,text",
70
  "prompt": False,
71
  "context": False
72
  },
73
  "image_segmentation": {
74
+ "input": "upload,url",
75
  "output": "image,text",
76
  "prompt": False,
77
  "context": False
78
  },
79
  "object_detection": {
80
+ "input": "upload,url",
81
  "output": "image,text",
82
  "prompt": False,
83
  "context": False
 
89
  "context": False
90
  },
91
  "visual_question_answering": {
92
+ "input": "upload,url",
93
  "output": "image,text",
94
  "prompt": True,
95
  "context": False
96
  },
97
  "image_to_image": {
98
+ "input": "upload,url",
99
  "output": "image,text",
100
  "prompt": True,
101
  "context": False