drclab commited on
Commit
e43cd3d
1 Parent(s): eb4110b

add APP file

Browse files
OpenAI API Response was: Error 401: Inco ADDED
@@ -0,0 +1 @@
 
 
1
+ OpenAI API Response was: Error 401: Incorrect API key provided: sk-1anYH***************************************IHEo. You can find your API key at https://platform.openai.com/account/api-keys. More information about this error: https://www.codegpt.co/docs/tutorial-basics/api_errors
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return "Hello " + name + "!!"
5
+
6
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+ iface.launch()