Update app.py
Browse files
app.py
CHANGED
|
@@ -48,9 +48,15 @@ textbox = gr.Textbox(label='Command')
|
|
| 48 |
demo = gr.Interface(fn=dprocess,
|
| 49 |
inputs=[textbox],
|
| 50 |
outputs="text",
|
| 51 |
-
title="operand
|
| 52 |
-
description="
|
| 53 |
-
theme=gr.themes.Soft()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
demo.queue()
|
| 56 |
demo.launch()
|
|
|
|
| 48 |
demo = gr.Interface(fn=dprocess,
|
| 49 |
inputs=[textbox],
|
| 50 |
outputs="text",
|
| 51 |
+
title="operand",
|
| 52 |
+
description="CLI",
|
| 53 |
+
theme=gr.themes.Soft(),
|
| 54 |
+
allow_flagging="auto",
|
| 55 |
+
live=True,
|
| 56 |
+
examples=[
|
| 57 |
+
["foo"],
|
| 58 |
+
["bar"],
|
| 59 |
+
])
|
| 60 |
|
| 61 |
demo.queue()
|
| 62 |
demo.launch()
|