Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -151,7 +151,7 @@ def compress_data(c, history):
|
|
| 151 |
|
| 152 |
|
| 153 |
def summarize(inp,history,file=None):
|
| 154 |
-
history = [(inp,"")] if not history else history
|
| 155 |
|
| 156 |
yield "",history
|
| 157 |
if file !=None:
|
|
@@ -175,12 +175,12 @@ def summarize(inp,history,file=None):
|
|
| 175 |
|
| 176 |
rawp = compress_data(c,out)
|
| 177 |
|
| 178 |
-
print (rawp)
|
| 179 |
-
print (f'out:: {out}')
|
| 180 |
#history += "observation: the search results are:\n {}\n".format(out)
|
| 181 |
#task = "complete?"
|
| 182 |
history.append(("",rawp))
|
| 183 |
-
|
| 184 |
#################################
|
| 185 |
|
| 186 |
'''
|
|
|
|
| 151 |
|
| 152 |
|
| 153 |
def summarize(inp,history,file=None):
|
| 154 |
+
history = [(inp,"Working on it...")] if not history else history
|
| 155 |
|
| 156 |
yield "",history
|
| 157 |
if file !=None:
|
|
|
|
| 175 |
|
| 176 |
rawp = compress_data(c,out)
|
| 177 |
|
| 178 |
+
#print (rawp)
|
| 179 |
+
#print (f'out:: {out}')
|
| 180 |
#history += "observation: the search results are:\n {}\n".format(out)
|
| 181 |
#task = "complete?"
|
| 182 |
history.append(("",rawp))
|
| 183 |
+
yield "", history
|
| 184 |
#################################
|
| 185 |
|
| 186 |
'''
|