Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
|
|
|
|
4 |
# Set up interface
|
5 |
ui = gr.Interface(
|
6 |
-
fn=
|
7 |
inputs=[
|
8 |
gr.Textbox(
|
9 |
label="Query",
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def test_function():
|
4 |
+
return "hello world"
|
5 |
+
|
6 |
# Set up interface
|
7 |
ui = gr.Interface(
|
8 |
+
fn=test_function,
|
9 |
inputs=[
|
10 |
gr.Textbox(
|
11 |
label="Query",
|