sotirios-slv commited on
Commit
433f502
β€’
1 Parent(s): 4e9ff86

Updated the image path and location

Browse files
app.py CHANGED
@@ -6,9 +6,9 @@ client = InferenceClient("mistralai/Mistral-7B-Instruct-v0.1")
6
 
7
  PLACEHOLDER = """
8
  <div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
9
- <img src="./images/val_speaking_transparent.gif" style="width: 80%; max-width: 550px; height: auto; opacity: 0.55; ">
10
- <h1 style="font-size: 28px; margin-bottom: 2px; opacity: 0.55;">Val the Voyager</h1>
11
- <p style="font-size: 18px; margin-bottom: 2px; opacity: 0.65;">Hi Jennifer, my name is Val, welcome onboard! Ask me anything about working at DTF...</p>
12
  </div>.
13
  """
14
 
@@ -100,7 +100,8 @@ additional_inputs = [
100
  ),
101
  ]
102
 
103
-
 
104
  gr.ChatInterface(
105
  fn=generate,
106
  chatbot=gr.Chatbot(
@@ -113,7 +114,7 @@ gr.ChatInterface(
113
  ),
114
  additional_inputs=additional_inputs,
115
  examples=[
116
- ["Ask me what an acronym stands for."],
117
  ["How can I check my leave allowance?"],
118
  ["Where can I find a floor map of 1 Macarthur?"],
119
  ["How can I find out about DTF's Disability network?"],
 
6
 
7
  PLACEHOLDER = """
8
  <div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
9
+ <img src="/file=val_speaking_transparent.gif" style="width: 80%; max-width: 550px; height: auto; opacity: 0.55; ">
10
+ <h1 style="font-size: 28px; margin-bottom: 2px; opacity: 0.55;">Hi Jennifer, welcome to DTF</h1>
11
+ <p style="font-size: 18px; margin-bottom: 2px; opacity: 0.65;">Ask me anything about working at here...</p>
12
  </div>.
13
  """
14
 
 
100
  ),
101
  ]
102
 
103
+ gr.Image("/file=val_speaking_transparent.gif")
104
+ gr.Markdown("Hi I'm Val the Voyager, welcome onboard!")
105
  gr.ChatInterface(
106
  fn=generate,
107
  chatbot=gr.Chatbot(
 
114
  ),
115
  additional_inputs=additional_inputs,
116
  examples=[
117
+ ["Ask me what an acronym stands for"],
118
  ["How can I check my leave allowance?"],
119
  ["Where can I find a floor map of 1 Macarthur?"],
120
  ["How can I find out about DTF's Disability network?"],
images/val_speaking_transparent.gif β†’ val_speaking_transparent.gif RENAMED
File without changes