FlawedLLM commited on
Commit
b94a687
·
verified ·
1 Parent(s): 1978e68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -6
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
- inputs="text",
144
- inputs="text",
145
- outputs="text",
146
- title="Formatter_Pro",
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)