PelokBal commited on
Commit
a484117
·
1 Parent(s): 2bd856d
Files changed (2) hide show
  1. .vscode/settings.json +2 -4
  2. app.py +3 -1
.vscode/settings.json CHANGED
@@ -1,6 +1,4 @@
1
  {
2
- "[python]": {
3
- "editor.defaultFormatter": "ms-python.autopep8"
4
- },
5
- "python.formatting.provider": "none"
6
  }
 
1
  {
2
+ "python.formatting.provider": "ms-python.autopep8",
3
+ "python.defaultInterpreterPath": "/home/pelokbal/.local/bin/ai_env/bin/python3",
 
 
4
  }
app.py CHANGED
@@ -1,7 +1,9 @@
1
  import gradio as gr
2
 
 
3
  def greet(name):
4
  return "Hello " + name + "!!"
5
 
6
- iface = gr.Interface(fn=greet, input="text", outputs="text")
 
7
  iface.launch()
 
1
  import gradio as gr
2
 
3
+
4
  def greet(name):
5
  return "Hello " + name + "!!"
6
 
7
+
8
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
9
  iface.launch()