Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,12 @@
|
|
1 |
import gradio
|
2 |
|
|
|
|
|
|
|
|
|
|
|
3 |
demo = gradio.Interface(
|
|
|
4 |
inputs=["text"],
|
5 |
outputs=["text"],
|
6 |
)
|
|
|
1 |
import gradio
|
2 |
|
3 |
+
def work(inp_text):
|
4 |
+
out = "hello"
|
5 |
+
|
6 |
+
return out
|
7 |
+
|
8 |
demo = gradio.Interface(
|
9 |
+
fn=work,
|
10 |
inputs=["text"],
|
11 |
outputs=["text"],
|
12 |
)
|