Spaces:
Build error
Build error
shahryarsaeed23 commited on
Commit ·
a1e3cd5
1
Parent(s): 61622ee
api
Browse files- .gradio/flagged/dataset1.csv +3 -0
- app.py +2 -1
.gradio/flagged/dataset1.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Input Text,Sentiment Analysis Result,timestamp
|
| 2 |
+
i like you before but now i hate you,Sentiment: NEGATIVE (Confidence: 99.74%),2025-01-28 10:54:24.639848
|
| 3 |
+
i like you before but now i hate you,Sentiment: NEGATIVE (Confidence: 99.74%),2025-01-28 10:54:28.488218
|
app.py
CHANGED
|
@@ -23,5 +23,6 @@ demo = gr.Interface(
|
|
| 23 |
outputs=gr.Textbox(label="Sentiment Analysis Result")
|
| 24 |
)
|
| 25 |
|
|
|
|
| 26 |
if __name__ == "__main__":
|
| 27 |
-
demo.launch()
|
|
|
|
| 23 |
outputs=gr.Textbox(label="Sentiment Analysis Result")
|
| 24 |
)
|
| 25 |
|
| 26 |
+
|
| 27 |
if __name__ == "__main__":
|
| 28 |
+
demo.launch(enable_api=True)
|