Spaces:
Runtime error
Runtime error
pip64
commited on
Commit
·
627fa20
1
Parent(s):
f71585f
примеры
Browse files
app.py
CHANGED
@@ -17,5 +17,9 @@ def gen(text):
|
|
17 |
|
18 |
return sentence
|
19 |
|
20 |
-
iface = gr.Interface(
|
|
|
|
|
|
|
|
|
21 |
iface.launch()
|
|
|
17 |
|
18 |
return sentence
|
19 |
|
20 |
+
iface = gr.Interface(
|
21 |
+
fn=gen,
|
22 |
+
inputs="text",
|
23 |
+
outputs="text",
|
24 |
+
examples=[["Привет!"], ["Как дела?"]])
|
25 |
iface.launch()
|