Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -44,11 +44,14 @@ examples = [
|
|
44 |
'How are You?',
|
45 |
"talk about your self",
|
46 |
]
|
47 |
-
gr.ChatInterface(
|
48 |
-
|
49 |
-
|
50 |
-
|
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'])
|