srush HF staff commited on
Commit
9e0c59f
1 Parent(s): 289be4b

Upload with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -7,14 +7,15 @@ from pal import gradio as pal
7
  from gatsby import gradio as gatsby
8
  from qa import gradio as qa
9
  from stats import gradio as stats
 
10
 
11
  css = "#clean div.form {border: 0px} #response {border: 0px; background: #ffeec6} #prompt {border: 0px;background: aliceblue} #json {border: 0px} #result {border: 0px; background: #c5e0e5} #inner {padding: 20px} #inner textarea {border: 0px} .tabs div.tabitem {border: 0px}"
12
 
13
  with gr.Blocks(css=css) as demo:
14
- gr.HTML("<center> <img width='10%' style='display:inline; padding: 5px' src='https://user-images.githubusercontent.com/35882/218286642-67985b6f-d483-49be-825b-f62b72c469cd.png'> <h1 style='display:inline'> Mini-Chain </h1> <img width='10%' style='display:inline;padding: 5px' src='https://avatars.githubusercontent.com/u/25720743?s=200&v=4'> </center><br><center><a href='https://github.com/srush/minichain'>[code]</a> <a href='https://user-images.githubusercontent.com/35882/218286642-67985b6f-d483-49be-825b-f62b72c469cd.png'>[docs]</a></center>")
15
 
16
- gr.TabbedInterface([math_demo, qa, chat, gatsby, ner, bash, pal, stats],
17
- ["Math", "QA", "Chat", "Book", "NER", "Bash", "PAL", "Stats"],
18
  css = css)
19
 
20
  demo.launch()
 
7
  from gatsby import gradio as gatsby
8
  from qa import gradio as qa
9
  from stats import gradio as stats
10
+ from selfask import gradio as selfask
11
 
12
  css = "#clean div.form {border: 0px} #response {border: 0px; background: #ffeec6} #prompt {border: 0px;background: aliceblue} #json {border: 0px} #result {border: 0px; background: #c5e0e5} #inner {padding: 20px} #inner textarea {border: 0px} .tabs div.tabitem {border: 0px}"
13
 
14
  with gr.Blocks(css=css) as demo:
15
+ gr.HTML("<center> <img width='10%' style='display:inline; padding: 5px' src='https://user-images.githubusercontent.com/35882/218286642-67985b6f-d483-49be-825b-f62b72c469cd.png'> <h1 style='display:inline; font-size:40pt; padding:20px'> Mini-Chain </h1> <img width='10%' style='display:inline;padding: 5px' src='https://avatars.githubusercontent.com/u/25720743?s=200&v=4'> </center><br><center><a href='https://github.com/srush/minichain'>[code]</a> <a href='https://user-images.githubusercontent.com/35882/218286642-67985b6f-d483-49be-825b-f62b72c469cd.png'>[docs]</a></center>")
16
 
17
+ gr.TabbedInterface([math_demo, qa, chat, gatsby, ner, bash, pal, stats, selfask],
18
+ ["Math", "QA", "Chat", "Book", "NER", "Bash", "PAL", "Stats", "SelfAsk"],
19
  css = css)
20
 
21
  demo.launch()