Spaces:
Runtime error
Runtime error
Commit ·
42c0c9b
1
Parent(s): 18fff49
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,11 +1,8 @@
|
|
| 1 |
-
import
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
print(f"Successfully downloaded '{filename}'")
|
| 10 |
-
except Exception as e:
|
| 11 |
-
print(f"An error occurred while downloading the file: {e}")
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
|
| 3 |
+
def greet(name):
|
| 4 |
+
return "Hello " + name + "!"
|
| 5 |
|
| 6 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
+
|
| 8 |
+
demo.launch()
|
|
|
|
|
|
|
|
|