prithivMLmods commited on
Commit
b5cfda7
1 Parent(s): 34fff7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -105,10 +105,7 @@ def gradio_interface():
105
  with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
106
  # Initialize state for history
107
  history = gr.State([])
108
-
109
- # Row for mood selection
110
- with gr.Row():
111
- mood = gr.Radio(choices=list(mood_prompts.keys()), value="Professional", label="Select Mood")
112
 
113
  # Row for system prompt and user prompt
114
  with gr.Row():
@@ -120,6 +117,10 @@ def gradio_interface():
120
  generate_btn = gr.Button("Generate")
121
  output = gr.Chatbot()
122
 
 
 
 
 
123
  # Connect button click to generate function
124
  generate_btn.click(
125
  generate,
 
105
  with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
106
  # Initialize state for history
107
  history = gr.State([])
108
+
 
 
 
109
 
110
  # Row for system prompt and user prompt
111
  with gr.Row():
 
117
  generate_btn = gr.Button("Generate")
118
  output = gr.Chatbot()
119
 
120
+ # Row for mood selection
121
+ with gr.Row():
122
+ mood = gr.Radio(choices=list(mood_prompts.keys()), value="Professional", label="Select Mood")
123
+
124
  # Connect button click to generate function
125
  generate_btn.click(
126
  generate,