Spaces:
Build error
Build error
Commit
·
5e22df1
1
Parent(s):
900a1b8
Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,9 @@ from consts import ModelSize
|
|
15 |
import gradio as gr
|
16 |
|
17 |
def greet(name):
|
|
|
|
|
|
|
18 |
return "Hello " + name + "!!"
|
19 |
|
20 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
15 |
import gradio as gr
|
16 |
|
17 |
def greet(name):
|
18 |
+
app = Flask(__name__)
|
19 |
+
CORS(app)
|
20 |
+
print("--> Starting DALL-E Server. This might take up to two minutes.")
|
21 |
return "Hello " + name + "!!"
|
22 |
|
23 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|