Trinet2023 commited on
Commit
d764d7b
1 Parent(s): 758e502

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -1,8 +1,14 @@
1
 
2
- import gradio as gr
3
 
4
- demo = gr.load("liuhaotian/llava-v1.6-vicuna-7b", src = "models")
 
 
5
 
6
- demo.launch()
 
 
 
7
 
 
8
 
 
1
 
2
+ mport gradio as gr
3
 
4
+ description = "Story generation with GPT-2"
5
+ title = "Generate your own story"
6
+ examples = [["Adventurer is approached by a mysterious stranger in the tavern for a new quest."]]
7
 
8
+ interface = gr.Interface.load("liuhaotian/llava-v1.6-vicuna-7b",
9
+ description=description,
10
+ examples=examples
11
+ )
12
 
13
+ interface.launch()
14