Spaces:
Running
on
A10G
Running
on
A10G
Commit
·
a3210e4
1
Parent(s):
4c493c7
Update app.py
Browse files
app.py
CHANGED
@@ -9,5 +9,5 @@ def inference(text):
|
|
9 |
output = pipe(text)
|
10 |
return output["generated_text"]
|
11 |
|
12 |
-
io = gr.Interface
|
13 |
io.launch()
|
|
|
9 |
output = pipe(text)
|
10 |
return output["generated_text"]
|
11 |
|
12 |
+
io = gr.Interface(inference, gr.Textbox(lines=3), gr.Textbox(lines=3))
|
13 |
io.launch()
|