Update app.py
Browse files
app.py
CHANGED
|
@@ -1924,7 +1924,7 @@ def selectScript(evt: gr.SelectData, seshid):
|
|
| 1924 |
except:
|
| 1925 |
data_dict = {}
|
| 1926 |
|
| 1927 |
-
print('selectScript: ', frmt, sesh.frmt_id_maps[sesh.current_img_signature][
|
| 1928 |
#return sesh.scripts[script]
|
| 1929 |
return 'Script being generated. Try again in 30 seconds.' if not data_dict or 'text' not in data_dict else data_dict['text']
|
| 1930 |
|
|
|
|
| 1924 |
except:
|
| 1925 |
data_dict = {}
|
| 1926 |
|
| 1927 |
+
print('selectScript: ', frmt, sesh.frmt_id_maps[sesh.current_img_signature][frmt], time.time()-start, responses)
|
| 1928 |
#return sesh.scripts[script]
|
| 1929 |
return 'Script being generated. Try again in 30 seconds.' if not data_dict or 'text' not in data_dict else data_dict['text']
|
| 1930 |
|