FlawedLLM
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -139,10 +139,22 @@ def chunk_it(input_command, item_list):
|
|
| 139 |
return reply
|
| 140 |
|
| 141 |
|
| 142 |
-
iface=gr.Interface(fn=chunk_it,
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 148 |
iface.launch(inline=False)
|
|
|
|
| 139 |
return reply
|
| 140 |
|
| 141 |
|
| 142 |
+
# iface=gr.Interface(fn=chunk_it,
|
| 143 |
+
# inputs="text",
|
| 144 |
+
# inputs="text",
|
| 145 |
+
# outputs="text",
|
| 146 |
+
# title="Formatter_Pro",
|
| 147 |
+
# )
|
| 148 |
+
|
| 149 |
+
|
| 150 |
+
iface = gr.Interface(
|
| 151 |
+
fn=chunk_it,
|
| 152 |
+
inputs=[
|
| 153 |
+
gr.Textbox(label="Input Command", lines=3),
|
| 154 |
+
gr.Textbox(label="Item List", lines=5)
|
| 155 |
+
],
|
| 156 |
+
outputs="text",
|
| 157 |
+
title="Formatter Pro",
|
| 158 |
+
)
|
| 159 |
+
|
| 160 |
iface.launch(inline=False)
|