Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,8 +14,7 @@ pipe.to(device)
|
|
| 14 |
def infer(prompt):
|
| 15 |
image = pipe(prompt)["sample"][0]
|
| 16 |
return image
|
| 17 |
-
|
| 18 |
-
def process(name):
|
| 19 |
-
return "hello " + name
|
| 20 |
|
| 21 |
gr.Interface(fn=infer, inputs="text", outputs="image").launch()
|
|
|
|
|
|
|
|
|
| 14 |
def infer(prompt):
|
| 15 |
image = pipe(prompt)["sample"][0]
|
| 16 |
return image
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
gr.Interface(fn=infer, inputs="text", outputs="image").launch()
|
| 19 |
+
|
| 20 |
+
print("Great sylvain ! Everything is working fine !")
|