Spaces:
Runtime error
Runtime error
Commit
·
5e146d9
1
Parent(s):
28e806c
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
pipe = pipeline('text-generation')
|
4 |
+
input = gr.Interface.TextBox()
|
5 |
+
output = gr.Interface.TextBox()
|
6 |
+
|
7 |
+
intf = gr.Interface(fn = pipe, inputs = input, outputs = output)
|
8 |
+
intf.launch()
|