Update app.py
Browse files
app.py
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
4 |
|
5 |
-
|
6 |
|
7 |
def predict(text):
|
8 |
-
return
|
9 |
|
10 |
demo = gr.Interface(
|
11 |
fn=predict,
|
12 |
-
inputs='
|
13 |
outputs='text',
|
14 |
)
|
15 |
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
|
4 |
|
5 |
+
|
6 |
|
7 |
def predict(text):
|
8 |
+
return text
|
9 |
|
10 |
demo = gr.Interface(
|
11 |
fn=predict,
|
12 |
+
inputs='textbox',
|
13 |
outputs='text',
|
14 |
)
|
15 |
|