Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
-
|
2 |
-
code = '''
|
3 |
import gradio as gr
|
4 |
|
5 |
def greet(name):
|
@@ -7,8 +6,7 @@ def greet(name):
|
|
7 |
|
8 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
9 |
iface.launch()
|
10 |
-
'''
|
11 |
|
12 |
# Save it as app.py
|
13 |
with open("app.py", "w") as f:
|
14 |
-
f.write(code)
|
|
|
1 |
+
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
def greet(name):
|
|
|
6 |
|
7 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
8 |
iface.launch()
|
|
|
9 |
|
10 |
# Save it as app.py
|
11 |
with open("app.py", "w") as f:
|
12 |
+
f.write(code)
|