prithivMLmods commited on
Commit
73d3ba2
1 Parent(s): 99a3f10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,7 +2,7 @@ from huggingface_hub import InferenceClient
2
  import gradio as gr
3
 
4
  css = '''
5
- .gradio-container{max-width: 1000px !important}
6
  h1{text-align:center}
7
  footer {
8
  visibility: hidden
@@ -101,9 +101,9 @@ def generate(
101
  return output
102
 
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)
 
2
  import gradio as gr
3
 
4
  css = '''
5
+ .gradio-container{max-width: 690px !important}
6
  h1{text-align:center}
7
  footer {
8
  visibility: hidden
 
101
  return output
102
 
103
  def gradio_interface():
104
+ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
105
  with gr.Row():
106
+ mood = gr.Radio(choices=list(mood_prompts.keys()), value="Professional", label="Select Mood")
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)