Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,9 @@ from PIL import Image
|
|
| 6 |
def greet(name):
|
| 7 |
return "Hello " + name + "!!"
|
| 8 |
|
|
|
|
|
|
|
|
|
|
| 9 |
demo = gr.Interface(
|
| 10 |
fn=greet,
|
| 11 |
inputs=gr.Textbox(lines=2, placeholder="Name Here..."),
|
|
|
|
| 6 |
def greet(name):
|
| 7 |
return "Hello " + name + "!!"
|
| 8 |
|
| 9 |
+
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 10 |
+
...
|
| 11 |
+
|
| 12 |
demo = gr.Interface(
|
| 13 |
fn=greet,
|
| 14 |
inputs=gr.Textbox(lines=2, placeholder="Name Here..."),
|