Commit
•
7cd8530
1
Parent(s):
c63fe40
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def classifier(text):
|
|
7 |
pred = sentiment_classifier(text)
|
8 |
return {p["label"]: p["score"] for p in pred[0]}
|
9 |
|
10 |
-
with gr.Blocks() as demo:
|
11 |
with gr.Row():
|
12 |
with gr.Column():
|
13 |
input_text = gr.Textbox(label="Input Text")
|
|
|
7 |
pred = sentiment_classifier(text)
|
8 |
return {p["label"]: p["score"] for p in pred[0]}
|
9 |
|
10 |
+
with gr.Blocks(theme="gstaff/xkcd") as demo:
|
11 |
with gr.Row():
|
12 |
with gr.Column():
|
13 |
input_text = gr.Textbox(label="Input Text")
|