Spaces:
Runtime error
Runtime error
pivovalera2012
commited on
Commit
•
7d37f96
1
Parent(s):
b652094
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,16 @@
|
|
1 |
-
import
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
def generate_text(prompt):
|
6 |
+
return 'Привет'
|
7 |
+
|
8 |
+
|
9 |
+
demo = gr.Interface(
|
10 |
+
generate_text,
|
11 |
+
inputs=["textbox"],
|
12 |
+
outputs=["textbox"],
|
13 |
+
]
|
14 |
+
)
|
15 |
+
|
16 |
+
demo.launch()
|