raoufjat commited on
Commit
655616c
1 Parent(s): 428c884

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def get_first_text():
21
 
22
  # Create a Gradio Interface
23
  interface = gr.Interface(
24
- fn=get_first_text,
25
  inputs=[],
26
  outputs="text",
27
  )
 
21
 
22
  # Create a Gradio Interface
23
  interface = gr.Interface(
24
+ fn=lambda: filter_arabic_novels()[0]['text'], # Only show first filtered sample
25
  inputs=[],
26
  outputs="text",
27
  )