jph00 commited on
Commit
c637d22
1 Parent(s): 9bed878

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -4,5 +4,7 @@ from fastcore.all import *
4
  def greet(name):
5
  return f'{Path().ls()} {os.getcwd()}'
6
 
7
- iface = gr.Interface(fn=greet, inputs="text", outputs="text")
8
- iface.launch()
 
 
 
4
  def greet(name):
5
  return f'{Path().ls()} {os.getcwd()}'
6
 
7
+ @call_parse
8
+ def main():
9
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
10
+ iface.launch()