Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,13 @@ import gradio as gr
|
|
2 |
|
3 |
|
4 |
def greet(description,color):
|
|
|
5 |
final = 'white background '
|
6 |
-
|
|
|
|
|
7 |
print(color)
|
|
|
8 |
return final
|
9 |
|
10 |
iface = gr.Interface(fn=greet,
|
|
|
2 |
|
3 |
|
4 |
def greet(description,color):
|
5 |
+
|
6 |
final = 'white background '
|
7 |
+
|
8 |
+
final += 'description:' description.replace(' ', '-')
|
9 |
+
|
10 |
print(color)
|
11 |
+
|
12 |
return final
|
13 |
|
14 |
iface = gr.Interface(fn=greet,
|