martianband1t commited on
Commit
b932484
1 Parent(s): d926e1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -7,6 +7,11 @@ For more information on `huggingface_hub` Inference API support, please check th
7
  client = InferenceClient("meta-llama/Meta-Llama-3-8B-Instruct")
8
 
9
  css = """
 
 
 
 
 
10
  .container {
11
  min-height: 100%;
12
  background-image: url('./favicon.jpg/'); /* Remplacez 'path_to_your_image.jpg' par le chemin de votre image */
@@ -60,9 +65,10 @@ def respond(
60
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
61
  """
62
  demo = gr.ChatInterface(
63
- css=css,
64
  respond,
 
65
  title="Voici notre Chatbot: Le Spéc'IA'liste du vrac",
 
66
  additional_inputs=[
67
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
68
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
 
7
  client = InferenceClient("meta-llama/Meta-Llama-3-8B-Instruct")
8
 
9
  css = """
10
+ body, html {
11
+ height: 100%;
12
+ margin: 0;
13
+ font-family: Arial, Helvetica, sans-serif;
14
+ }
15
  .container {
16
  min-height: 100%;
17
  background-image: url('./favicon.jpg/'); /* Remplacez 'path_to_your_image.jpg' par le chemin de votre image */
 
65
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
66
  """
67
  demo = gr.ChatInterface(
 
68
  respond,
69
+ css=css,
70
  title="Voici notre Chatbot: Le Spéc'IA'liste du vrac",
71
+
72
  additional_inputs=[
73
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
74
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),