karimD2 commited on
Commit
9f4e0f1
·
1 Parent(s): f13026d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -5
app.py CHANGED
@@ -44,11 +44,14 @@ examples = [
44
  'How are You?',
45
  "talk about your self",
46
  ]
47
- gr.ChatInterface(
48
- fn=phi3_fun,
49
- title =title,
50
- examples = examples
51
- ).launch(debug=True)
 
 
 
52
 
53
  # output = pipe(messages, **generation_args)
54
  # print(output[0]['generated_text'])
 
44
  'How are You?',
45
  "talk about your self",
46
  ]
47
+ # gr.ChatInterface(
48
+ # fn=phi3_fun,
49
+ # title =title,
50
+ # examples = examples
51
+ # ).launch(debug=True)
52
+ demo = gr.Interface(fn=phi3_fun, inputs="text", outputs="text",title =title,
53
+ examples = examples)
54
+ demo.launch()
55
 
56
  # output = pipe(messages, **generation_args)
57
  # print(output[0]['generated_text'])