sf06583 commited on
Commit
8bdf145
1 Parent(s): cf7f7cc

Upload 4 files

Browse files
Files changed (5) hide show
  1. .gitattributes +1 -0
  2. app.py +2 -2
  3. botm.png +0 -0
  4. botm2.png +0 -0
  5. user.png +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ user.png filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -2,7 +2,7 @@ from huggingface_hub import InferenceClient
2
  import gradio as gr
3
  #import requests
4
 
5
- client = InferenceClient("sf06583/gpt2-model-network-automation")
6
 
7
  def format_prompt(message, history, system_prompt=None):
8
  prompt = "<s>"
@@ -47,7 +47,7 @@ mychatbot = gr.Chatbot(
47
  demo = gr.ChatInterface(
48
  fn=generate,
49
  chatbot=mychatbot,
50
- title="Adaab! I am CybHermes, what do you want to do on your network?",
51
  css="body { background-color: inherit; overflow-x:hidden;}"
52
  ":root {--color-accent: transparent !important; --color-accent-soft:transparent !important; --code-background-fill:black !important; --body-text-color:white !important;}"
53
  "#component-2 {background:#ffffff1a; display:contents;}"
 
2
  import gradio as gr
3
  #import requests
4
 
5
+
6
 
7
  def format_prompt(message, history, system_prompt=None):
8
  prompt = "<s>"
 
47
  demo = gr.ChatInterface(
48
  fn=generate,
49
  chatbot=mychatbot,
50
+ title="Adaab! Lenaurius here, what do you want to do on your network?",
51
  css="body { background-color: inherit; overflow-x:hidden;}"
52
  ":root {--color-accent: transparent !important; --color-accent-soft:transparent !important; --code-background-fill:black !important; --body-text-color:white !important;}"
53
  "#component-2 {background:#ffffff1a; display:contents;}"
botm.png ADDED
botm2.png ADDED
user.png ADDED

Git LFS Details

  • SHA256: 0651b26e61c0795d103b76ef838c4117420692cbb4bf411ce6b835fcd84c3560
  • Pointer size: 132 Bytes
  • Size of remote file: 1.87 MB