kingabzpro
commited on
Commit
•
091f6c9
1
Parent(s):
5f17867
Update app.py
Browse files
app.py
CHANGED
@@ -31,8 +31,8 @@ gradio_ui = gr.Interface(
|
|
31 |
["In the quiet hours, even the shadows seem too heavy to bear."],
|
32 |
["Riding a tempest of emotions, where ecstatic highs crash into desolate lows without warning."]
|
33 |
],
|
34 |
-
inputs=gr.
|
35 |
-
outputs=gr.
|
36 |
theme="huggingface",
|
37 |
article="<p style='text-align: center'>Please read the tutorial to fine-tune the Llama 3.1 model on Mental Health Classification <a href='https://www.datacamp.com/tutorial/fine-tuning-llama-3-1' target='_blank'>https://www.datacamp.com/tutorial/fine-tuning-llama-3-1</a></p>",
|
38 |
)
|
|
|
31 |
["In the quiet hours, even the shadows seem too heavy to bear."],
|
32 |
["Riding a tempest of emotions, where ecstatic highs crash into desolate lows without warning."]
|
33 |
],
|
34 |
+
inputs=gr.Textbox(lines=10, label="Write the text here"),
|
35 |
+
outputs=gr.Label(num_top_classes=4, type="auto", label="Mental Health Disorder Category"),
|
36 |
theme="huggingface",
|
37 |
article="<p style='text-align: center'>Please read the tutorial to fine-tune the Llama 3.1 model on Mental Health Classification <a href='https://www.datacamp.com/tutorial/fine-tuning-llama-3-1' target='_blank'>https://www.datacamp.com/tutorial/fine-tuning-llama-3-1</a></p>",
|
38 |
)
|