wangqinghehe commited on
Commit
d77b929
1 Parent(s): 8b33625

0516_gradio_demo

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -216,7 +216,9 @@ def generate_image(chose_emb, choice, gender_GAN, prompts_array):
216
  yield total_results, gr.update(visible=True, value="<h3>(Not Finished) Generating ···</h3>"), test_emb_path
217
  else:
218
  yield total_results, gr.update(visible=True, value="<h3>Generation Finished</h3>"), test_emb_path
219
-
 
 
220
  def get_example():
221
  case = [
222
  [
 
216
  yield total_results, gr.update(visible=True, value="<h3>(Not Finished) Generating ···</h3>"), test_emb_path
217
  else:
218
  yield total_results, gr.update(visible=True, value="<h3>Generation Finished</h3>"), test_emb_path
219
+ total_results = []
220
+
221
+
222
  def get_example():
223
  case = [
224
  [