Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -198,5 +198,5 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="blue")) as demo:
|
|
| 198 |
out_df = gr.Dataframe(wrap=True, show_label=False)
|
| 199 |
btn.click(predict_opinion, file_in, out_df)
|
| 200 |
|
| 201 |
-
if
|
| 202 |
-
demo.launch()
|
|
|
|
| 198 |
out_df = gr.Dataframe(wrap=True, show_label=False)
|
| 199 |
btn.click(predict_opinion, file_in, out_df)
|
| 200 |
|
| 201 |
+
if __name__ == "__main__":
|
| 202 |
+
demo.launch()
|