Enrico Shippole commited on
Commit
738800c
1 Parent(s): 48f8345

Add initial gradio setup

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -33,5 +33,12 @@ def generate(prompt, seq_len, temperature, filter_thres, model):
33
 
34
 
35
 
36
- iface = gr.Interface(fn=generate, inputs="text", outputs="text")
 
 
 
 
 
 
 
37
  iface.launch()
 
33
 
34
 
35
 
36
+ iface = gr.Interface(
37
+ fn=generate,
38
+ title="PaLM",
39
+ description="Open-source PaLM demo.",
40
+ inputs="text",
41
+ outputs="text"
42
+ )
43
+
44
  iface.launch()