Jacobo commited on
Commit
e60de6e
·
1 Parent(s): 39a3b58

added theme

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -117,6 +117,16 @@ def inference(hechos, investigacion, teoria):
117
  args = live_inference(argsAI, max_new_tokens=1536)
118
  return "**Hechos**: \n\n" + facts + "\n\n **Fundamentos**: \n\n" + args
119
 
 
 
 
 
 
 
 
 
 
 
120
 
121
  with gr.Blocks() as demo:
122
  hechos = gr.Textbox(label = "Hechos", lines = 15, show_label = True, show_copy_button= True)
 
117
  args = live_inference(argsAI, max_new_tokens=1536)
118
  return "**Hechos**: \n\n" + facts + "\n\n **Fundamentos**: \n\n" + args
119
 
120
+ theme = gr.themes.Base(
121
+ primary_hue="red",
122
+ secondary_hue="red",
123
+ neutral_hue="neutral",
124
+ ).set(
125
+ button_primary_background_fill='#910A0A',
126
+ button_primary_border_color='*primary_300',
127
+ button_primary_text_color='*primary_50'
128
+ )
129
+
130
 
131
  with gr.Blocks() as demo:
132
  hechos = gr.Textbox(label = "Hechos", lines = 15, show_label = True, show_copy_button= True)