Karlo Timmerman commited on
Commit
7d181f2
·
1 Parent(s): b93c6da

Update app

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -1,7 +1,8 @@
1
- import os
2
- import openai
3
- openai.organization = "Sky Dust intelligence b.v."
4
- openai.api_key = os.getenv("OPENAI_API_KEY")
5
- openai.Model.list()
6
 
 
 
7
 
 
 
 
 
1
+ import gradio as gr
 
 
 
 
2
 
3
+ def greet(name):
4
+ return "Hello " + name + "!!"
5
 
6
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+
8
+ demo.launch()