Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def segment(img, clases):
|
|
31 |
outputs = model(**inputs)
|
32 |
preds = outputs.logits.unsqueeze(1)
|
33 |
|
34 |
-
return "Hello " + prompts + "!!"
|
35 |
|
36 |
demo = gr.Interface(fn=segment, inputs=["image","text"], outputs="text")
|
37 |
demo.launch()
|
|
|
31 |
outputs = model(**inputs)
|
32 |
preds = outputs.logits.unsqueeze(1)
|
33 |
|
34 |
+
return "Hello " + prompts[0] + "!!"
|
35 |
|
36 |
demo = gr.Interface(fn=segment, inputs=["image","text"], outputs="text")
|
37 |
demo.launch()
|