Spaces:
Sleeping
Sleeping
prithivMLmods
commited on
Commit
•
99a3f10
1
Parent(s):
e8bb21f
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ def generate(
|
|
103 |
def gradio_interface():
|
104 |
with gr.Blocks(css=css, theme="allenai/gradio-theme") as demo:
|
105 |
with gr.Row():
|
106 |
-
mood = gr.
|
107 |
history = gr.State([])
|
108 |
system_prompt = gr.Textbox(placeholder="System prompt (optional)", lines=1)
|
109 |
prompt = gr.Textbox(placeholder="Enter your message", lines=2)
|
|
|
103 |
def gradio_interface():
|
104 |
with gr.Blocks(css=css, theme="allenai/gradio-theme") as demo:
|
105 |
with gr.Row():
|
106 |
+
mood = gr.radio(choices=list(mood_prompts.keys()), label="Response Mood", value="Friendly")
|
107 |
history = gr.State([])
|
108 |
system_prompt = gr.Textbox(placeholder="System prompt (optional)", lines=1)
|
109 |
prompt = gr.Textbox(placeholder="Enter your message", lines=2)
|