Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def predict(message,history):
|
|
53 |
|
54 |
pprint(f"[tokens = {chunkCount}] {message}")
|
55 |
|
56 |
-
|
57 |
predict,
|
58 |
title = "blockchain teacher",
|
59 |
theme = gr.themes.Soft(),
|
@@ -63,6 +63,6 @@ with gr.ChatInterface(
|
|
63 |
scale = 7,
|
64 |
max_lines = 2,
|
65 |
),
|
66 |
-
)
|
67 |
|
68 |
-
demo.launch()
|
|
|
53 |
|
54 |
pprint(f"[tokens = {chunkCount}] {message}")
|
55 |
|
56 |
+
demo = gr.ChatInterface(
|
57 |
predict,
|
58 |
title = "blockchain teacher",
|
59 |
theme = gr.themes.Soft(),
|
|
|
63 |
scale = 7,
|
64 |
max_lines = 2,
|
65 |
),
|
66 |
+
)
|
67 |
|
68 |
+
demo.launch(share = True)
|