thefreeham commited on
Commit
c82c2e4
1 Parent(s): 9a7dea4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -11,6 +11,16 @@ from consts import IMAGES_OUTPUT_DIR
11
  from utils import parse_arg_boolean, parse_arg_dalle_version
12
  from consts import ModelSize
13
 
 
 
 
 
 
 
 
 
 
 
14
  app = Flask(__name__)
15
  CORS(app)
16
  print("--> Starting DALL-E Server. This might take up to two minutes.")
 
11
  from utils import parse_arg_boolean, parse_arg_dalle_version
12
  from consts import ModelSize
13
 
14
+
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")
21
+ iface.launch()
22
+
23
+
24
  app = Flask(__name__)
25
  CORS(app)
26
  print("--> Starting DALL-E Server. This might take up to two minutes.")