Oscar Wang commited on
Commit
e11431d
·
verified ·
1 Parent(s): 97a083a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -31,9 +31,8 @@ iface = gr.Interface(
31
  outputs="json",
32
  title="Text Classification with RoBERTa",
33
  description="Enter some text and get the probability of the text being classified as class 1.",
34
- enable_queue=True, # Ensure the API is enabled
35
  )
36
 
37
  # Launch the app
38
  if __name__ == "__main__":
39
- iface.launch()
 
31
  outputs="json",
32
  title="Text Classification with RoBERTa",
33
  description="Enter some text and get the probability of the text being classified as class 1.",
 
34
  )
35
 
36
  # Launch the app
37
  if __name__ == "__main__":
38
+ iface.launch(share=True)