Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
from oneai import oneai_pipeline
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
demo = gr.Interface(
|
| 6 |
+
fn=oneai_pipeline,
|
| 7 |
+
inputs=gr.Textbox(lines=2, placeholder="Name Here..."),
|
| 8 |
+
outputs="text",
|
| 9 |
+
)
|
| 10 |
+
demo.launch(share=True)
|