bubuuunel commited on
Commit
67135e9
1 Parent(s): 9c68431

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -141,6 +141,14 @@ company = gr.Radio()
141
  # Create the interface
142
  # For the inputs parameter of Interface provide [textbox,company]
143
 
 
 
 
 
 
 
 
 
144
 
145
  demo.queue()
146
  demo.launch()
 
141
  # Create the interface
142
  # For the inputs parameter of Interface provide [textbox,company]
143
 
144
+ demo = gr.Interface(
145
+ fn=predict,
146
+ inputs=[user_input,company],
147
+ outputs=model_output,
148
+ title="Systen output",
149
+ description="This API allows you to query on annaul reports",
150
+ concurrency_limit=16
151
+ )
152
 
153
  demo.queue()
154
  demo.launch()