Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
lucas-w
/
mental-health-10
like
1
Runtime error
App
Files
Files
Community
lucas-w
commited on
Aug 4, 2023
Commit
b3fbb05
β’
1 Parent(s):
c10e6f1
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+8
-0
app.py
ADDED
Viewed
@@ -0,0 +1,8 @@
1
+
import gradio as gr
2
+
3
+
def mental_chat(message, history):
4
+
return givetext(patienttext,newmodel,newtokenizer)
5
+
6
+
demo = gr.ChatInterface(mental_chat)
7
+
8
+
demo.launch()