Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -210,7 +210,8 @@ def compress_data(c, instruct, history):
|
|
| 210 |
def summarize(inp,history,data=None,file=None,url=None):
|
| 211 |
if inp == "":
|
| 212 |
inp = "Process this data"
|
| 213 |
-
history
|
|
|
|
| 214 |
yield "",history
|
| 215 |
if url != "":
|
| 216 |
val, out = find_all(url)
|
|
|
|
| 210 |
def summarize(inp,history,data=None,file=None,url=None):
|
| 211 |
if inp == "":
|
| 212 |
inp = "Process this data"
|
| 213 |
+
history.clear()
|
| 214 |
+
history = [(inp,"Working on it...")]
|
| 215 |
yield "",history
|
| 216 |
if url != "":
|
| 217 |
val, out = find_all(url)
|