Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
|
4 |
-
def greet(description,color,features):
|
5 |
|
6 |
final = 'white background '
|
7 |
|
@@ -10,8 +10,10 @@ def greet(description,color,features):
|
|
10 |
color = ' color:' + ','.join(color)
|
11 |
|
12 |
features = ' features:' + ','.join(features)
|
|
|
|
|
13 |
|
14 |
-
final += description + color + features
|
15 |
|
16 |
return final
|
17 |
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
|
4 |
+
def greet(description,color,features,occasion):
|
5 |
|
6 |
final = 'white background '
|
7 |
|
|
|
10 |
color = ' color:' + ','.join(color)
|
11 |
|
12 |
features = ' features:' + ','.join(features)
|
13 |
+
|
14 |
+
occasion = ' occasion:' + ','.join(occasion)
|
15 |
|
16 |
+
final += description + color + features + occasion
|
17 |
|
18 |
return final
|
19 |
|