davanstrien HF Staff commited on
Commit
ca22b95
·
1 Parent(s): 7fcc2ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -14
app.py CHANGED
@@ -181,22 +181,9 @@ gr_interface = gr.Interface(
181
  article=article,
182
  examples=sample_text,
183
  allow_screenshot=True,
 
184
  )
185
  gr_interface.launch(inline=False, share=False)
186
 
187
 
188
 
189
- gr_interface = gr.Interface(
190
- fn=predict,
191
- inputs=gr.inputs.Textbox(),
192
- outputs=[
193
- gr.outputs.HTML("Intrinsic attention"),
194
- gr.outputs.Label(num_top_classes=len(labels), label="Confidence"),
195
- ],
196
- title="British Library 19th Century Books Genre Classifier",
197
- description=description,
198
- article=article,
199
- examples=sample_text,
200
- allow_screenshot=True,
201
- )
202
- gr_interface.launch(inline=False, share=False)
 
181
  article=article,
182
  examples=sample_text,
183
  allow_screenshot=True,
184
+ theme="peach"
185
  )
186
  gr_interface.launch(inline=False, share=False)
187
 
188
 
189