Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -156,10 +156,10 @@ def compress_data(c, instruct, history):
|
|
| 156 |
|
| 157 |
def summarize(inp,history,data=None,file=None):
|
| 158 |
if inp == "":
|
| 159 |
-
inp = "
|
| 160 |
|
| 161 |
|
| 162 |
-
history = [(inp,"Working on it...")]
|
| 163 |
yield "",history
|
| 164 |
if file:
|
| 165 |
try:
|
|
|
|
| 156 |
|
| 157 |
def summarize(inp,history,data=None,file=None):
|
| 158 |
if inp == "":
|
| 159 |
+
inp = "Summarize this data"
|
| 160 |
|
| 161 |
|
| 162 |
+
history = [(inp,"Working on it...")]
|
| 163 |
yield "",history
|
| 164 |
if file:
|
| 165 |
try:
|