suhyun.kang commited on
Commit
67812d2
1 Parent(s): e1661d9
Files changed (3) hide show
  1. .vscode/extensions.json +7 -6
  2. .vscode/settings.json +4 -1
  3. app.py +1 -1
.vscode/extensions.json CHANGED
@@ -1,7 +1,8 @@
1
  {
2
- "recommendations": [
3
- "ms-python.isort",
4
- "ms-python.pylint",
5
- "eeyore.yapf"
6
- ]
7
- }
 
 
1
  {
2
+ "recommendations": [
3
+ "ms-python.isort",
4
+ "ms-python.pylint",
5
+ "eeyore.yapf",
6
+ "esbenp.prettier-vscode"
7
+ ]
8
+ }
.vscode/settings.json CHANGED
@@ -1,4 +1,7 @@
1
  {
 
 
 
2
  "[python]": {
3
  "editor.defaultFormatter": "eeyore.yapf"
4
  },
@@ -8,5 +11,5 @@
8
  "editor.formatOnSave": true,
9
  "editor.codeActionsOnSave": {
10
  "source.organizeImports": "explicit"
11
- },
12
  }
 
1
  {
2
+ "[json]": {
3
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
4
+ },
5
  "[python]": {
6
  "editor.defaultFormatter": "eeyore.yapf"
7
  },
 
11
  "editor.formatOnSave": true,
12
  "editor.codeActionsOnSave": {
13
  "source.organizeImports": "explicit"
14
+ }
15
  }
app.py CHANGED
@@ -1,8 +1,8 @@
1
  from random import sample
2
 
3
- import gradio as gr
4
  from fastchat.serve import gradio_web_server
5
  from fastchat.serve.gradio_web_server import bot_response
 
6
 
7
  # TODO(#1): Add more models.
8
  SUPPORTED_MODELS = ["gpt-4", "gpt-4-turbo", "gpt-3.5-turbo"]
 
1
  from random import sample
2
 
 
3
  from fastchat.serve import gradio_web_server
4
  from fastchat.serve.gradio_web_server import bot_response
5
+ import gradio as gr
6
 
7
  # TODO(#1): Add more models.
8
  SUPPORTED_MODELS = ["gpt-4", "gpt-4-turbo", "gpt-3.5-turbo"]