Spaces:
Runtime error
Runtime error
Commit
·
c38bd2b
1
Parent(s):
e11a0ab
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
from TextGenerator import Text_generation
|
| 3 |
+
|
| 4 |
+
interface=gr.Interface(fn=Text_generation,inputs=[gr.inputs.Textbox(lines=2,
|
| 5 |
+
placeholder="Enter Topic",
|
| 6 |
+
label="Your Topic")],
|
| 7 |
+
outputs=[gr.outputs.Textbox(label="Detail")],
|
| 8 |
+
enable_queu=True)
|
| 9 |
+
interface.launch(debug=True)
|