Spaces:
Sleeping
Sleeping
Oscar Wang
commited on
Update app.py
Browse files
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)
|