not-lain commited on
Commit
8117d2e
Β·
1 Parent(s): f02cd6e

minor refinements

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. app.py +6 -0
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- title: Conversational Chat Processor For A Discord Bot
3
- emoji: πŸ“ˆ
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: gradio
 
1
  ---
2
+ title: Backend For Conversational Bot
3
+ emoji: πŸŒ”wπŸŒ–
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: gradio
app.py CHANGED
@@ -32,6 +32,12 @@ examples = [
32
  ["what's 2+10",""" ****user \t hi \n ***assistant \t hello \n"""]
33
  ]
34
 
 
 
 
 
 
 
35
  iface = gr.Interface(fn=process,inputs=[prompt,history],outputs=[out],examples=examples,cache_examples=True)
36
  iface.launch()
37
 
 
32
  ["what's 2+10",""" ****user \t hi \n ***assistant \t hello \n"""]
33
  ]
34
 
35
+ title = "Backend For Conversational Bot"
36
+ description = """thi is the backend for a conversational discord bot
37
+ this space is running on CPU , click here to duplicate it <a style="display:inline-block" href="https://huggingface.co/spaces/not-lain/backend-for-conversational-bot?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a>
38
+
39
+ """
40
+
41
  iface = gr.Interface(fn=process,inputs=[prompt,history],outputs=[out],examples=examples,cache_examples=True)
42
  iface.launch()
43