soren654 commited on
Commit
6b0e37c
·
verified ·
1 Parent(s): 22f7b91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -4,5 +4,8 @@ def greet(name):
4
  return "Hello " + name + "!"
5
 
6
  demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")
 
 
 
7
 
8
  demo.launch(share=True)
 
4
  return "Hello " + name + "!"
5
 
6
  demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")
7
+ demo = gr.Interface(lambda x: x, "image", "image")
8
+
9
+ demo.launch(max_file_size="5mb")
10
 
11
  demo.launch(share=True)