diff --git a/epb_site/gemini.py b/epb_site/gemini.py index ce1880b..15358bd 100644 --- a/epb_site/gemini.py +++ b/epb_site/gemini.py @@ -37,7 +37,7 @@ chat_session = model.start_chat( ] ) -# print(chat_session.send_message("hello world!").text) +print(chat_session.send_message("hello world!").text) diff --git a/epb_site/models.py b/epb_site/models.py index f3d18a5..304507f 100644 --- a/epb_site/models.py +++ b/epb_site/models.py @@ -1,4 +1,7 @@ from django import forms class Statement(forms.Form): - input = forms.CharField(required=True) + input = forms.CharField(required=True, label='') + +class Reset(forms.Form): + input = "__reset__" diff --git a/epb_site/templates/home.html b/epb_site/templates/home.html index 969211e..f08fcee 100644 --- a/epb_site/templates/home.html +++ b/epb_site/templates/home.html @@ -29,8 +29,16 @@ {{ form.as_p }} - + +