dar-tau commited on
Commit
46203c4
·
verified ·
1 Parent(s): 20b5332

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -24,4 +24,9 @@ def generate(text):
24
  {'role': 'system', 'content': system_prompt},
25
  {'role': 'user', 'content': text}
26
  ]
27
- return pipe(messages)
 
 
 
 
 
 
24
  {'role': 'system', 'content': system_prompt},
25
  {'role': 'user', 'content': text}
26
  ]
27
+ return pipe(messages)
28
+
29
+
30
+ if __name__ == "__main__":
31
+ demo = gr.Blocks()
32
+ demo.launch()