Spaces:
Runtime error
Runtime error
Commit
·
5302e8f
1
Parent(s):
503ebf3
Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,12 @@ def image_interface(prompt):
|
|
15 |
|
16 |
return response
|
17 |
|
18 |
-
app = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
app.launch()
|
|
|
15 |
|
16 |
return response
|
17 |
|
18 |
+
app = gr.Interface(
|
19 |
+
fn = image_interface,
|
20 |
+
inputs = 'text',
|
21 |
+
outputs = 'image',
|
22 |
+
title = 'Oil Painting Generation',
|
23 |
+
description = 'Vinay Kumar Thakur'
|
24 |
+
)
|
25 |
|
26 |
app.launch()
|