ningrumdaud commited on
Commit
b65dde5
·
verified ·
1 Parent(s): 5361a9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -44,8 +44,7 @@ tab1 = gr.Interface(
44
  inputs=[gr.Textbox(label="Input Text", placeholder="Type here or click an example..."),
45
  gr.Radio(["Model 1 (RoBERTa-large)", "Model 2 (BERTweet)"], label="Model Choice")],
46
  outputs="text",
47
- examples=exams,
48
- example_autocomplete=True # Ensures text from examples fills the textbox
49
  )
50
 
51
  # Setup the tabs for Documentation
 
44
  inputs=[gr.Textbox(label="Input Text", placeholder="Type here or click an example..."),
45
  gr.Radio(["Model 1 (RoBERTa-large)", "Model 2 (BERTweet)"], label="Model Choice")],
46
  outputs="text",
47
+ examples=exams
 
48
  )
49
 
50
  # Setup the tabs for Documentation