Spaces:
Sleeping
Sleeping
Commit
·
e0cd251
1
Parent(s):
5f0931f
Add doc
Browse files
app.py
CHANGED
|
@@ -42,4 +42,10 @@ def predict(user_prompt: str) -> str:
|
|
| 42 |
return related_doc
|
| 43 |
|
| 44 |
|
| 45 |
-
gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
return related_doc
|
| 43 |
|
| 44 |
|
| 45 |
+
gr.Interface(
|
| 46 |
+
fn=predict,
|
| 47 |
+
inputs="text",
|
| 48 |
+
outputs="text",
|
| 49 |
+
title="verychat customer service",
|
| 50 |
+
description="CS with ChatGPT3.5 and llama-index"
|
| 51 |
+
).launch()
|