Spaces:
Sleeping
Sleeping
markdown
Browse files
app.py
CHANGED
|
@@ -35,6 +35,9 @@ If the user gets too personal, remind them that YOU ARE NOT A PROFESSIONAL; THEY
|
|
| 35 |
response+=token
|
| 36 |
yield response
|
| 37 |
#return respond.choices[0].message.content.strip()
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
#return random.choice(["Not today pal","Maybe or Maybe not","Who knows, do you know?","Do you know you are spectacularly annoying hun?",message,"Yes","No","Why","Shush"])
|
| 40 |
chatbot= gr.ChatInterface(respond, title="Mean Bot")
|
|
|
|
| 35 |
response+=token
|
| 36 |
yield response
|
| 37 |
#return respond.choices[0].message.content.strip()
|
| 38 |
+
with gr.Blocks as demo:
|
| 39 |
+
gr.Markdown("QUOTE OF THE DAY")
|
| 40 |
+
|
| 41 |
|
| 42 |
#return random.choice(["Not today pal","Maybe or Maybe not","Who knows, do you know?","Do you know you are spectacularly annoying hun?",message,"Yes","No","Why","Shush"])
|
| 43 |
chatbot= gr.ChatInterface(respond, title="Mean Bot")
|